google_cloudbuild_worker_pool is claiming "forces replacement" repeatedly when network_config
is unspecified
#11194
Labels
network_config
is unspecified
#11194
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
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/gecko655/9b69b16e369ddd1b27c68a0c321de7c1
Panic Output
N/A
Expected Behavior
Once
terraform apply
is done, google_cloudbuild_worker_pool will never output "forces replacement" whenterraform plan
Actual Behavior
After
terraform apply
is done, google_cloudbuild_worker_pool continuously output "forces replacement" whenterraform plan
.Steps to Reproduce
terraform apply
terraform plan
Important Factoids
After
terraform apply
is done,terraform state show
shows:Google provider official document says
network_config.peered_network
is required whennetwork_config
is specified.The state looks strange considering this.
Google Cloud official document says:
So, when network_config is left unspecified, I suspect the provider have to let it unspecified.
This behavior is observed on terraform google provider v4.12.0. (Released today)
This is NOT reproduced on terraform google provider v4.11.0.
References
The text was updated successfully, but these errors were encountered: