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
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Terraform Version
$ terraform version
Terraform v1.5.7
on linux_amd64
As you can see in the terraform registry link of this issue there is a note explaining that you need to configure your provider scope to have the desired output, otherwise you could have an error or other kind of harassment.
This issue was replicated successfully and without errors with the shared terraform configuration, just adding the scope in the provider as the following example:
Be careful because other bad configurations in your provider like credentials, project, region or zone could affect this, as an advice you can check these attributes before run the terraform apply.
Community Note
Terraform Version
$ terraform version
Terraform v1.5.7
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.8.1. You can update by downloading from https://www.terraform.io/downloads.html
Affected Resource(s)
google_client_openid_userinfo
Terraform Configuration
Debug Output
Expected Behavior
Expect to get a Terraform output of the executing identity's email property.
Actual Behavior
When doing this in Cloud Shell in the Google console, the value is always an empty string "".
Steps to reproduce
terraform apply
Important Factoids
It seems to work fine when on a Cloud Workstation.
References
A similar issue was raised before, but was closed due to inactivity:
#16431
The text was updated successfully, but these errors were encountered: