terraform-provider-google
terraform-provider-google copied to clipboard
google_network_security_address_group inconsistent result after apply
Community Note
- 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 v1.7.3 on linux_amd64
- provider registry.terraform.io/hashicorp/google v5.16.0
- provider registry.terraform.io/hashicorp/google-beta v5.16.0
Affected Resource(s)
google_network_security_address_group
Terraform Configuration
resource "google_network_security_address_group" "address_group" {
name = var.name
parent = var.parent
location = var.location
type = var.type
capacity = var.capacity
items = var.items
description = var.description
labels = var.labels
}
Debug Output
No response
Expected Behavior
# module.address_groups["group-2"].google_network_security_address_group.address_group must be replaced
-/+ resource "google_network_security_address_group" "address_group" {
id = "..."
~ location = "global" -> "europe-west1" # forces replacement
name = "group-2"
# (9 unchanged attributes hidden)
}
Actual Behavior
# module.address_groups["group-2"].google_network_security_address_group.address_group will be updated in-place
~ resource "google_network_security_address_group" "address_group" {
id = "..."
~ location = "global" -> "europe-west1"
name = "group-2"
# (9 unchanged attributes hidden)
}
Steps to reproduce
-
terraform apply
Important Factoids
No response
References
No response
b/325594664