Skip to content

Fixed SecurityPolicyRule and RegionSecurityPolicyRule resources being unable to manage the policy default rule #8535

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

Adds custom code to allow the google_compute_region_security_policy_rule and google_compute_security_policy_rule resources to override the default rule of their respective security policy without the need of a multi-apply import process.

Fixes: hashicorp/terraform-provider-google#15687

Release Note Template for Downstream PRs (will be copied)

compute: fixed unable to create default rule when using `google_compute_region_security_policy_rule` resource (beta)
compute: fixed unable to create default rule when using `google_compute_security_policy_rule` resource

Derived from GoogleCloudPlatform/magic-modules#12054

… unable to manage the policy default rule (#12054)

[upstream:3715cf5f9ec3acffbde4f9ce51fd18928a09696a]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit c63fda5 into hashicorp:main Oct 28, 2024
2 checks passed
@modular-magician modular-magician deleted the downstream-pr-3715cf5f9ec3acffbde4f9ce51fd18928a09696a branch November 16, 2024 03:46
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.

google_compute_region_security_policy_rule is not able to override default rule
1 participant