Permadiff on google_network_services_gateway when address is not specified #19196
Labels
bug
forward/review
In review; remove label to forward
service/networkservices-traffic-director
waiting-response
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.5
on darwin_arm64
Affected Resource(s)
google_network_services_gateway
Terraform Configuration
Debug Output
No response
Expected Behavior
Once a
google_network_services_gateway
resource is created with no specifiedaddresses
, any followingterraform apply
should not result in a permadiff, causing the gateway to be recreated.Actual Behavior
A permadiff is generated, where the resource tries to get the first available IP address available on the provided
subnetwork
Steps to reproduce
terraform apply
to first create the gatewayterraform apply
to see the permadiffImportant Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: