Skip to content

Feature request: read tfstate from gitlab #661

@rubentest

Description

@rubentest

I have my tfstate saved in gitlab and I try to read with vals but I can't.

for example with tfstate lookup I can read the tf state:
./tfstate-lookup -state https://username:password@my-gitlab.com/api/v4/projects/xx/terraform/state/Xxx/

But not with vals.

I tried with ref+tfstateremote and token as env var failed to read tfstate from remote://gitlab.xxx: resource not found
I think only we need to add auth with

TFE_USER
TFE_TOKEN

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions