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 will perform the following actions:
# google_cloud_run_v2_service.default will be updated in-place
~ resource "google_cloud_run_v2_service" "default" {
id = "projects/hc-5948a71742894b4e927b7fd629a/locations/us-central1/services/cloudrun-service"
name = "cloudrun-service"
# (31 unchanged attributes hidden)
~ template {
# (9 unchanged attributes hidden)
~ containers {
name = null
# (5 unchanged attributes hidden)
~ resources {
~ limits = {
- "cpu" = "1000m" -> null
# (1 unchanged element hidden)
}
# (2 unchanged attributes hidden)
}
# (2 unchanged blocks hidden)
}
~ scaling {
- max_instance_count = 100 -> null
# (1 unchanged attribute hidden)
}
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Expected Behavior
no diff should be present.
Actual Behavior
attributes should not be updated to be null
Steps to reproduce
terraform apply
terraform apply
Important Factoids
after looking into this we could potentially solve this by including a diff suppress function for template.containers.resources.limits as well as mark template.scaling.max_instance_count as a client side default value of 100.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.0 on
Affected Resource(s)
google_cloud_run_v2_service
Terraform Configuration
Debug Output
Expected Behavior
no diff should be present.
Actual Behavior
attributes should not be updated to be null
Steps to reproduce
terraform apply
terraform apply
Important Factoids
after looking into this we could potentially solve this by including a diff suppress function for
template.containers.resources.limits
as well as marktemplate.scaling.max_instance_count
as a client side default value of 100.References
No response
b/380093176