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

sns: Improve policy diffs #28860

Merged
merged 2 commits into from
Jan 12, 2023
Merged

sns: Improve policy diffs #28860

merged 2 commits into from
Jan 12, 2023

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Jan 12, 2023

Description

Relations

Relates #23288

References

Output from Acceptance Testing

% make testacc TESTS="TestAccSNSTopicPolicy_|TestAccSNSTopic_" PKG=sns  
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/sns/... -v -count 1 -parallel 20 -run='TestAccSNSTopicPolicy_|TestAccSNSTopic_'  -timeout 180m
=== RUN   TestAccSNSTopicPolicy_basic
=== PAUSE TestAccSNSTopicPolicy_basic
=== RUN   TestAccSNSTopicPolicy_updated
=== PAUSE TestAccSNSTopicPolicy_updated
=== RUN   TestAccSNSTopicPolicy_Disappears_topic
=== PAUSE TestAccSNSTopicPolicy_Disappears_topic
=== RUN   TestAccSNSTopicPolicy_disappears
=== PAUSE TestAccSNSTopicPolicy_disappears
=== RUN   TestAccSNSTopicPolicy_ignoreEquivalent
=== PAUSE TestAccSNSTopicPolicy_ignoreEquivalent
=== RUN   TestAccSNSTopic_basic
=== PAUSE TestAccSNSTopic_basic
=== RUN   TestAccSNSTopic_disappears
=== PAUSE TestAccSNSTopic_disappears
=== RUN   TestAccSNSTopic_name
=== PAUSE TestAccSNSTopic_name
=== RUN   TestAccSNSTopic_namePrefix
=== PAUSE TestAccSNSTopic_namePrefix
=== RUN   TestAccSNSTopic_tags
=== PAUSE TestAccSNSTopic_tags
=== RUN   TestAccSNSTopic_policy
=== PAUSE TestAccSNSTopic_policy
=== RUN   TestAccSNSTopic_withIAMRole
=== PAUSE TestAccSNSTopic_withIAMRole
=== RUN   TestAccSNSTopic_withFakeIAMRole
=== PAUSE TestAccSNSTopic_withFakeIAMRole
=== RUN   TestAccSNSTopic_withDeliveryPolicy
=== PAUSE TestAccSNSTopic_withDeliveryPolicy
=== RUN   TestAccSNSTopic_deliveryStatus
=== PAUSE TestAccSNSTopic_deliveryStatus
=== RUN   TestAccSNSTopic_NameGenerated_fifoTopic
=== PAUSE TestAccSNSTopic_NameGenerated_fifoTopic
=== RUN   TestAccSNSTopic_Name_fifoTopic
=== PAUSE TestAccSNSTopic_Name_fifoTopic
=== RUN   TestAccSNSTopic_NamePrefix_fifoTopic
=== PAUSE TestAccSNSTopic_NamePrefix_fifoTopic
=== RUN   TestAccSNSTopic_fifoWithContentBasedDeduplication
=== PAUSE TestAccSNSTopic_fifoWithContentBasedDeduplication
=== RUN   TestAccSNSTopic_fifoExpectContentBasedDeduplicationError
=== PAUSE TestAccSNSTopic_fifoExpectContentBasedDeduplicationError
=== RUN   TestAccSNSTopic_encryption
=== PAUSE TestAccSNSTopic_encryption
=== CONT  TestAccSNSTopicPolicy_basic
=== CONT  TestAccSNSTopic_withIAMRole
=== CONT  TestAccSNSTopic_encryption
=== CONT  TestAccSNSTopic_disappears
=== CONT  TestAccSNSTopic_deliveryStatus
=== CONT  TestAccSNSTopic_fifoWithContentBasedDeduplication
=== CONT  TestAccSNSTopic_NamePrefix_fifoTopic
=== CONT  TestAccSNSTopic_name
=== CONT  TestAccSNSTopic_namePrefix
=== CONT  TestAccSNSTopic_NameGenerated_fifoTopic
=== CONT  TestAccSNSTopicPolicy_disappears
=== CONT  TestAccSNSTopicPolicy_Disappears_topic
=== CONT  TestAccSNSTopic_tags
=== CONT  TestAccSNSTopic_basic
=== CONT  TestAccSNSTopic_Name_fifoTopic
=== CONT  TestAccSNSTopic_withDeliveryPolicy
=== CONT  TestAccSNSTopic_withFakeIAMRole
=== CONT  TestAccSNSTopic_fifoExpectContentBasedDeduplicationError
=== CONT  TestAccSNSTopic_policy
=== CONT  TestAccSNSTopicPolicy_ignoreEquivalent
--- PASS: TestAccSNSTopic_fifoExpectContentBasedDeduplicationError (6.30s)
=== CONT  TestAccSNSTopicPolicy_updated
--- PASS: TestAccSNSTopic_disappears (43.14s)
--- PASS: TestAccSNSTopicPolicy_Disappears_topic (48.64s)
--- PASS: TestAccSNSTopicPolicy_disappears (55.62s)
--- PASS: TestAccSNSTopic_NameGenerated_fifoTopic (61.11s)
--- PASS: TestAccSNSTopic_basic (62.00s)
--- PASS: TestAccSNSTopic_namePrefix (62.47s)
--- PASS: TestAccSNSTopic_NamePrefix_fifoTopic (62.85s)
--- PASS: TestAccSNSTopic_Name_fifoTopic (63.59s)
--- PASS: TestAccSNSTopic_withDeliveryPolicy (63.91s)
--- PASS: TestAccSNSTopic_policy (64.01s)
--- PASS: TestAccSNSTopic_name (64.15s)
--- PASS: TestAccSNSTopicPolicy_basic (64.25s)
--- PASS: TestAccSNSTopic_withIAMRole (67.48s)
--- PASS: TestAccSNSTopicPolicy_ignoreEquivalent (69.46s)
--- PASS: TestAccSNSTopic_deliveryStatus (72.27s)
--- PASS: TestAccSNSTopic_encryption (75.26s)
--- PASS: TestAccSNSTopic_fifoWithContentBasedDeduplication (78.70s)
--- PASS: TestAccSNSTopicPolicy_updated (72.49s)
--- PASS: TestAccSNSTopic_tags (91.19s)
--- PASS: TestAccSNSTopic_withFakeIAMRole (144.95s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/sns	146.830s

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added service/sns Issues and PRs that pertain to the sns service. size/XS Managed by automation to categorize the size of a PR. labels Jan 12, 2023
@github-actions github-actions bot added size/S Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Jan 12, 2023
@YakDriver YakDriver merged commit 4c18298 into main Jan 12, 2023
@YakDriver YakDriver deleted the b-sns-diff-policy branch January 12, 2023 20:46
@github-actions github-actions bot added this to the v4.50.0 milestone Jan 12, 2023
github-actions bot pushed a commit that referenced this pull request Jan 12, 2023
@github-actions
Copy link

This functionality has been released in v4.50.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/sns Issues and PRs that pertain to the sns service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant