Open serpro69 opened 2 months ago
We have the same problem. Especially with Big Query and Cloud Storage.
Confirmed issue!
After running a terraform apply
it returns the next error message:
│ Error: Invalid template interpolation value
│
│ on tfstate/iam.tf line 7, in resource "google_project_iam_member" "storage":
│ 7: member = "serviceAccount:${google_project_service_identity.storage.email}"
│ ├────────────────
│ │ google_project_service_identity.storage.email is null
│
│ The expression result is null. Cannot include a null value in a string template.
Watching
Community Note
Terraform Version & Provider Version(s)
Terraform v1.8.5 on linux_amd64
Affected Resource(s)
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_service_identity
Terraform Configuration
Debug Output
No response
Expected Behavior
email should not be
null
Actual Behavior
email
variable isnull
all other variables (id
,service
, andproject
) contain values, so it's only the email that's returning null for some reasonSteps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/351534769