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

accesscontextmanager - Fix permadiff for perimeter ingress / egress rule resources #8526

Conversation

modular-magician
Copy link
Collaborator

Add diff suppress and custom flatten to fix permadiffs for changing resource orders on the api side. Sometimes the api returns a different order for (ingressTo|egressTo).resources. This change sorts the users config and the api response to always be in the same order to prevent diffs.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

accesscontextmanager: Fixed permadiff for perimeter ingress / egress rule resources

Derived from GoogleCloudPlatform/magic-modules#12119

…ule resources (#12119)

Co-authored-by: Charlesleonius <charlesleon@google.com>

[upstream:551f48015dbed65b65a5610cbb41b02f7f801bc6]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 10d0c97 into hashicorp:main Oct 25, 2024
2 checks passed
@modular-magician modular-magician deleted the downstream-pr-551f48015dbed65b65a5610cbb41b02f7f801bc6 branch November 16, 2024 03:35
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