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

glacier/vault: Fix spurious policy diffs #22166

Merged
merged 3 commits into from
Dec 13, 2021
Merged

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Dec 10, 2021

Community Note

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

Relates #21968

Output from acceptance testing (us-west-2):

% make testacc TESTS=TestAccGlacierVaultLock PKG=glacier
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glacier/... -v -count 1 -parallel 20 -run='TestAccGlacierVaultLock' -timeout 180m
--- PASS: TestAccGlacierVaultLock_basic (20.78s)
--- PASS: TestAccGlacierVaultLock_completeLock (21.68s)
--- PASS: TestAccGlacierVaultLock_ignoreEquivalentPolicy (28.26s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/glacier	29.892s
% make testacc TESTS=TestAccGlacierVault_ PKG=glacier 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glacier/... -v -count 1 -parallel 20 -run='TestAccGlacierVault_' -timeout 180m
--- PASS: TestAccGlacierVault_disappears (15.40s)
--- PASS: TestAccGlacierVault_basic (22.40s)
--- PASS: TestAccGlacierVault_ignoreEquivalent (29.49s)
--- PASS: TestAccGlacierVault_tags (51.03s)
--- PASS: TestAccGlacierVault_policy (52.05s)
--- PASS: TestAccGlacierVault_notification (55.88s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/glacier	57.405s

Output from acceptance testing (GovCloud):

% make testacc TESTS=TestAccGlacierVault_ PKG=glacier
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glacier/... -v -count 1 -parallel 20 -run='TestAccGlacierVault_' -timeout 180m
--- PASS: TestAccGlacierVault_disappears (17.97s)
--- PASS: TestAccGlacierVault_basic (24.97s)
--- PASS: TestAccGlacierVault_ignoreEquivalent (35.61s)
--- PASS: TestAccGlacierVault_tags (58.81s)
--- PASS: TestAccGlacierVault_policy (61.93s)
--- PASS: TestAccGlacierVault_notification (63.58s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/glacier	65.247s
% make testacc TESTS=TestAccGlacierVaultLock PKG=glacier
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glacier/... -v -count 1 -parallel 20 -run='TestAccGlacierVaultLock' -timeout 180m
--- PASS: TestAccGlacierVaultLock_basic (25.84s)
--- PASS: TestAccGlacierVaultLock_completeLock (26.52s)
--- PASS: TestAccGlacierVaultLock_ignoreEquivalentPolicy (35.29s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/glacier	36.922s

@github-actions github-actions bot added service/glacier Issues and PRs that pertain to the glacier service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/L Managed by automation to categorize the size of a PR. labels Dec 10, 2021
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. and removed size/L Managed by automation to categorize the size of a PR. labels Dec 10, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

% make testacc TESTARGS='-run=TestAccGlacierVaultLock_\|TestAccGlacierVault_' PKG=glacier
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glacier/... -v -count 1 -parallel 20 -run=TestAccGlacierVaultLock_\|TestAccGlacierVault_ -timeout 180m
=== RUN   TestAccGlacierVaultLock_basic
=== PAUSE TestAccGlacierVaultLock_basic
=== RUN   TestAccGlacierVaultLock_completeLock
=== PAUSE TestAccGlacierVaultLock_completeLock
=== RUN   TestAccGlacierVaultLock_ignoreEquivalentPolicy
=== PAUSE TestAccGlacierVaultLock_ignoreEquivalentPolicy
=== RUN   TestAccGlacierVault_basic
=== PAUSE TestAccGlacierVault_basic
=== RUN   TestAccGlacierVault_notification
=== PAUSE TestAccGlacierVault_notification
=== RUN   TestAccGlacierVault_policy
=== PAUSE TestAccGlacierVault_policy
=== RUN   TestAccGlacierVault_tags
=== PAUSE TestAccGlacierVault_tags
=== RUN   TestAccGlacierVault_disappears
=== PAUSE TestAccGlacierVault_disappears
=== RUN   TestAccGlacierVault_ignoreEquivalent
=== PAUSE TestAccGlacierVault_ignoreEquivalent
=== CONT  TestAccGlacierVaultLock_basic
=== CONT  TestAccGlacierVault_policy
=== CONT  TestAccGlacierVault_disappears
=== CONT  TestAccGlacierVault_notification
=== CONT  TestAccGlacierVault_tags
=== CONT  TestAccGlacierVaultLock_ignoreEquivalentPolicy
=== CONT  TestAccGlacierVault_basic
=== CONT  TestAccGlacierVault_ignoreEquivalent
=== CONT  TestAccGlacierVaultLock_completeLock
--- PASS: TestAccGlacierVault_disappears (17.45s)
--- PASS: TestAccGlacierVault_basic (22.40s)
--- PASS: TestAccGlacierVaultLock_basic (24.51s)
--- PASS: TestAccGlacierVaultLock_completeLock (25.10s)
--- PASS: TestAccGlacierVault_ignoreEquivalent (30.38s)
--- PASS: TestAccGlacierVaultLock_ignoreEquivalentPolicy (31.58s)
--- PASS: TestAccGlacierVault_tags (51.51s)
--- PASS: TestAccGlacierVault_policy (52.37s)
--- PASS: TestAccGlacierVault_notification (55.64s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/glacier	59.565s

@YakDriver YakDriver merged commit c9d2668 into main Dec 13, 2021
@YakDriver YakDriver deleted the b-glacier-policy-diffs branch December 13, 2021 17:04
@github-actions github-actions bot added this to the v3.70.0 milestone Dec 13, 2021
@github-actions
Copy link

This functionality has been released in v3.70.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

github-actions bot commented Jun 1, 2022

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 Jun 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/glacier Issues and PRs that pertain to the glacier service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants