Skip to content

allow sending propagatedConnectionLimit zero value for ServiceAttachment #10213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

modular-magician
Copy link
Collaborator

When creating or modifying google_compute_service_attachment, the propagated_connection_limit cannot be set to 0 and the default is used instead. This adds a new send_propagated_connection_limit_if_zero flag that, when enabled, will send the zero value.

hashicorp/terraform-provider-google#22939

compute: added `send_propagated_connection_limit_if_zero` to `google_compute_service_attachment` to resolve an issue where `propagated_connection_limit` were not working for 0 value previously. Now setting `send_propagated_connection_limit_if_zero = true` will send `propagated_connection_limit = 0` when it's unset or set to `0`.

Derived from GoogleCloudPlatform/magic-modules#14052

…ent (#14052)

[upstream:7b48b56427d5f3752a08cfe58fac0c75c0bb747b]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner June 18, 2025 15:07
@modular-magician modular-magician merged commit 14ce2eb into hashicorp:main Jun 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant