Skip to content

Change Threat Prevention Profile's properties to sets. #9162

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 a Security Profile resource the user can specify overrides for their threat prevention profile.
These overrides are of type Array, and so will show diffs between desired state and actual state if the order of the overrides changes.
However, the overrides are supposed to be agnostic to their order, so this PR fixes this by explicitly marking the overrides as Sets.

Fixes hashicorp/terraform-provider-google#20970

networksecurity: fixed sporadic-diff in `google_network_security_security_profile`

Derived from GoogleCloudPlatform/magic-modules#12814

[upstream:f66cabc0b5c9ba853237f9f387d318b9c35b7638]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner January 28, 2025 16:31
@modular-magician modular-magician merged commit e7d277b into hashicorp:main Jan 28, 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.

Flaky test: TestAccNetworkSecuritySecurityProfile_networkSecuritySecurityProfileOverridesExample
1 participant