Feature request: read tfstate from gitlab
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
@rubentest any logs?
@yxxhero I don't know what logs can I have.
tfstate-lookup is supporting URL format HTTP(S) https://github.com/fujiwara/tfstate-lookup?tab=readme-ov-file#supported-tfstate-url-format And vals I think is not supporting URL format HTTP(S), at least as i Can read in docs.
I tried with ref+tfstateremote but I think is totally different than URL HTTP(s)