Skip to content

After the terraform apply, getting issue with vault export root token and crt looks invalid #76

@saravana1992

Description

@saravana1992

Hi

I have did cloning and exported the values of root token then looks token not available then when i run vault status looks ca.pem or crt is invalid and the errors are below

vault status
Error checking seal status: Get https://x.x.x.x/v1/sys/seal-status: x509: certificate signed by unknown authority

export VAULT_TOKEN="$(terraform output root_token)"
The output variable requested could not be found in the state
file. If you recently added this to your configuration, be
sure to run terraform apply, since the state won't be updated
with new output variables until that command is run.

Let me know the work around for this, looks like there was PR few days before if this related to it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions