Open syubuntu opened 1 month ago
This looks like incorrect behavior. In my case I tried to reproduce the issue. Although I didn't get an error, a new resource was created without deleting the existing one which is also not something to expect. I'm forwarding it for a more in-depth review
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.5 on linux_amd64
Affected Resource(s)
google_network_security_url_lists
Terraform Configuration
before change code:
note: This code is same as basic example of below.
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/network_security_url_lists#example-usage---network-security-url-lists-basic
after change code:
Debug Output
No response
Expected Behavior
forces replacements happens because UrlList name is immutable.
Actual Behavior
The below error occurs. No change happens to "my-url-lists".
Steps to reproduce
terraform apply
with before change code.terraform apply
with after change code.Important Factoids
No response
References
No response
b/372044327