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