Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: read tfstate from gitlab #661

Open
rubentest opened this issue Mar 21, 2025 · 1 comment
Open

Feature request: read tfstate from gitlab #661

rubentest opened this issue Mar 21, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@rubentest
Copy link

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:[email protected]/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

@yxxhero
Copy link
Member

yxxhero commented Mar 21, 2025

@rubentest any logs?

@yxxhero yxxhero added the enhancement New feature or request label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants