You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: unable to get project from credentials: unable to fetch organization list: could not complete request: please ensure your HCP_API_HOST, HCP_CLIENT_ID, and HCP_CLIENT_SECRET are correct
│
│ with provider["registry.terraform.io/hashicorp/hcp"],
│ on versions.tf line 32, in provider "hcp":
│ 32: provider "hcp" {}
│
╵
Panic Output
Steps to Reproduce
terraform apply and perform browser-based authentication for HCP provider
Do something else for 20 minutes
run terraform apply again after your session has expired. output gives you no clear explanation on how to refresh your session token. For instance for AWS you would run aws sso login --profile profile-name and then resume using your cached AWS auth.
Expected Behavior
Either: the user should be prompted to repeat web-based auth, the error message or documentation provide clear instructions on how to refresh your user session.
Actual Behavior
terraform apply never gets past refresh phase.
Important Factoids
References
#0000
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
For context, failure to automatically invalidate/refresh outdated sessions is probably something that would be handled upstream at https://github.com/hashicorp/hcp-sdk-go
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform apply
and perform browser-based authentication for HCP providerterraform apply
again after your session has expired. output gives you no clear explanation on how to refresh your session token. For instance for AWS you would runaws sso login --profile profile-name
and then resume using your cached AWS auth.Expected Behavior
Either: the user should be prompted to repeat web-based auth, the error message or documentation provide clear instructions on how to refresh your user session.
Actual Behavior
terraform apply never gets past refresh phase.
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: