After generating new api key, cannot access terraform cloud

I’ve been using circle CI and TF cloud for a few months now. Despite generating a new key and setting the env var in my runner, I am getting:

│ Error: Failed to read organization "***********" at host app.terraform.io
│ 
│   on providers.tf line 3, in terraform:
│    3:     organization = "***********"
│ 
│ Encountered an unexpected error while reading the organization settings: unauthorized

And 4 days ago doing the same thing on another project was fine, but the current project doesn’t seem to even attempt to use the key I set in the env vars. It just shows:

Created
8 minutes ago
by user
queglay
Token has not been used

Is it possible there is a bug or is there something I’m missing this time round resetting the key after it reached its TTL?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.