Skip to content
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

SWP Policy Rule - Mitigate multiple rules issue #21643

Conversation

modular-magician
Copy link
Collaborator

Hello folks.

This PR is to mitigate the issue when creating and/or deleting multiple google_network_security_gateway_security_policy_rule

  • When creating multiple rules at the same time it can throw an internal error which looks like a race condition.
  • When deleting multiple rules and the policy, the rules delay a little bit to propagate, causing an issue on the policy that can't be destroyed which looks like there is a phantom rule on the policy.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

networksecurity: added wait time on `google_network_security_gateway_security_policy_rule` resource when creating and deleting to prevent race conditions

Derived from GoogleCloudPlatform/magic-modules#12704

[upstream:e8431c4467c7d067460a8e3a8ea50439345c8ec6]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner February 27, 2025 23:01
@modular-magician modular-magician merged commit bb06371 into hashicorp:main Feb 27, 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