Open stellirin opened 2 years ago
This bug is still present in v5.5.0 for the resource google_monitoring_alert_policy
.
The resource google_monitoring_uptime_check_config
is showing the same behavior after import.
The mentioned workaround setting temporarily the project like GOOGLE_PROJECT=my-other-project terraform import ...
does work.
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v1.0.10 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
This is not an issue on other resource types (we do this regularly for a wide range of resource on GCP).
A valid workaround is to temporarily change the
project
value on the provider.References
b/275110457