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

r/aws_s3_multi_region_access_point and r/aws_s3_multi_region_access_point_policy : New resource #21060

Merged

Conversation

farhanangullia
Copy link
Contributor

@farhanangullia farhanangullia commented Sep 27, 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

Closes #20799

Release note for CHANGELOG:

aws_s3_multi_region_access_point
aws_s3_multi_region_access_point_policy

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccS3ControlMultiRegionAccessPoint" PKG_NAME="internal/service/s3control" 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control -v -count 1 -parallel 20 -run=TestAccS3ControlMultiRegionAccessPoint -timeout 180m
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== RUN   TestAccS3ControlMultiRegionAccessPoint_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_basic
=== RUN   TestAccS3ControlMultiRegionAccessPoint_disappears
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_disappears
=== RUN   TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== RUN   TestAccS3ControlMultiRegionAccessPoint_name
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_disappears
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== CONT  TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
--- PASS: TestAccS3ControlMultiRegionAccessPoint_disappears (255.61s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock (352.05s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_basic (356.37s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_basic (372.37s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (372.77s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (435.75s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_name (519.63s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (604.31s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/s3control  605.441s
...

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. size/XL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. labels Sep 27, 2021
@breathingdust breathingdust added new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 27, 2021
@github-actions github-actions bot added service/s3control Issues and PRs that pertain to the s3control service. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Sep 28, 2021
@farhanangullia farhanangullia changed the title [WIP] r/aws_s3_multi_region_access_point: New resource r/aws_s3_multi_region_access_point and r/aws_s3_multi_region_access_point_policy : New resource Oct 1, 2021
@farhanangullia farhanangullia force-pushed the f-aws_s3_multi_region_access_point branch from 57e8bc4 to 1fa2cd7 Compare October 18, 2021 14:33
@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. and removed provider Pertains to the provider itself, rather than any interaction with AWS. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/s3control Issues and PRs that pertain to the s3control service. size/XL Managed by automation to categorize the size of a PR. labels Oct 18, 2021
@farhanangullia
Copy link
Contributor Author

In the midst of updating the PR to reflect the major restructuring.

@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/s3control Issues and PRs that pertain to the s3control service. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL 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 Oct 18, 2021
@farhanangullia farhanangullia force-pushed the f-aws_s3_multi_region_access_point branch 2 times, most recently from 6c7d223 to 2fa0944 Compare October 18, 2021 17:58
@zhelding
Copy link
Contributor

Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding.

Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single aws directory to a large number of separate directories in internal/service, each corresponding to a particular AWS service. This separation of code has also allowed for us to simplify the names of underlying functions -- while still avoiding namespace collisions.

We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author.

For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000.

For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide.

@farhanangullia farhanangullia force-pushed the f-aws_s3_multi_region_access_point branch from 8150d79 to 3c86286 Compare October 22, 2021 19:14
@ewbankkit ewbankkit self-assigned this Oct 23, 2021
@ewbankkit ewbankkit removed their assignment Nov 11, 2021
@ewbankkit ewbankkit force-pushed the f-aws_s3_multi_region_access_point branch from 447cc6c to da98b32 Compare November 12, 2021 16:15
@ewbankkit ewbankkit self-assigned this Nov 12, 2021
…l_multi_region_access_point' and 'aws_s3_multi_region_access_point_policy' -> 'aws_s3control_multi_region_access_point_policy'.
…tByName' -> 'FindMultiRegionAccessPointByAccountIDAndName'.

r/aws_s3control_multi_region_access_point_policy: 'FindMultiRegionAccessPointPolicyDocumentByName' -> 'FindMultiRegionAccessPointPolicyDocumentByAccountIDAndName'.

Acceptance test output:

% make testacc PKG_NAME=internal/service/s3control TESTARGS='-run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_ -timeout 180m
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== RUN   TestAccS3ControlMultiRegionAccessPoint_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_basic
=== RUN   TestAccS3ControlMultiRegionAccessPoint_disappears
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_disappears
=== RUN   TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== RUN   TestAccS3ControlMultiRegionAccessPoint_name
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_disappears
=== CONT  TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_basic
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
--- PASS: TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock (700.81s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_basic (701.57s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_basic (702.98s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (704.67s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_disappears (707.16s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (832.41s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_name (1068.44s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (1102.97s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3control	1106.706s
…PointOperationByAccountIDAndTokenARN'.

Acceptance test output:

% make testacc PKG_NAME=internal/service/s3control TESTARGS='-run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_ -timeout 180m
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== RUN   TestAccS3ControlMultiRegionAccessPoint_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_basic
=== RUN   TestAccS3ControlMultiRegionAccessPoint_disappears
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_disappears
=== RUN   TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== RUN   TestAccS3ControlMultiRegionAccessPoint_name
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_disappears
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
--- PASS: TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock (325.46s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_basic (331.72s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_basic (335.65s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (339.30s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_disappears (342.69s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (421.81s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_name (898.15s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (900.66s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3control	904.310s
Acceptance test output:

% make sweep SWEEPARGS=-sweep-run=aws_s3control_multi_region_access_point SWEEP=us-west-2,us-west-1,us-east-2,us-east-1
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-west-1,us-east-2,us-east-1 -sweep-run=aws_s3control_multi_region_access_point -timeout 60m
2021/11/12 16:15:48 [DEBUG] Running Sweepers for region (us-west-2):
2021/11/12 16:15:48 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-west-2)
2021/11/12 16:15:48 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:15:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:15:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-9076530765028862245
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-4507661412741926133
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-8245535467367663015
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-7991657015236693467
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-8736564941094484309
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-4838572432635178774
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-5037569265071601673
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-9089626914245414205
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:10 [TRACE] Waiting 10s before next try
2021/11/12 16:16:10 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:24 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:31 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:47 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:53 [TRACE] Waiting 10s before next try
2021/11/12 16:20:53 [TRACE] Waiting 10s before next try
2021/11/12 16:20:58 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:08 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:14 [TRACE] Waiting 10s before next try
2021/11/12 16:21:19 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:29 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:39 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:50 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:22:00 [TRACE] Waiting 10s before next try
2021/11/12 16:22:05 [TRACE] Waiting 10s before next try
2021/11/12 16:22:06 [TRACE] Waiting 10s before next try
2021/11/12 16:22:16 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-west-2) in 6m28.307035036s
2021/11/12 16:22:16 Completed Sweepers for region (us-west-2) in 6m28.307241367s
2021/11/12 16:22:16 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:16 [DEBUG] Running Sweepers for region (us-west-1):
2021/11/12 16:22:16 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-west-1)
2021/11/12 16:22:16 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:16 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:16 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-west-1
2021/11/12 16:22:17 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-west-1) in 686.967832ms
2021/11/12 16:22:17 Completed Sweepers for region (us-west-1) in 686.988675ms
2021/11/12 16:22:17 Sweeper Tests for region (us-west-1) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:17 [DEBUG] Running Sweepers for region (us-east-2):
2021/11/12 16:22:17 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-east-2)
2021/11/12 16:22:17 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-east-2
2021/11/12 16:22:17 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-east-2) in 437.813655ms
2021/11/12 16:22:17 Completed Sweepers for region (us-east-2) in 437.828116ms
2021/11/12 16:22:17 Sweeper Tests for region (us-east-2) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:17 [DEBUG] Running Sweepers for region (us-east-1):
2021/11/12 16:22:17 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-east-1)
2021/11/12 16:22:17 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:18 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:19 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-east-1
2021/11/12 16:22:19 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-east-1) in 1.130747602s
2021/11/12 16:22:19 Completed Sweepers for region (us-east-1) in 1.130766096s
2021/11/12 16:22:19 Sweeper Tests for region (us-east-1) ran successfully:
	- aws_s3control_multi_region_access_point
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	395.612s
…AccessPointParseID' to 'AccessPointParseResourceID'.

Acceptance test output:

% make testacc PKG_NAME=internal/service/s3control TESTARGS='-run=TestAccS3ControlAccessPoint_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlAccessPoint_basic -timeout 180m
=== RUN   TestAccS3ControlAccessPoint_basic
=== PAUSE TestAccS3ControlAccessPoint_basic
=== CONT  TestAccS3ControlAccessPoint_basic
--- PASS: TestAccS3ControlAccessPoint_basic (31.37s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3control	35.463s
Acceptance test output:

% make sweep SWEEPARGS=-sweep-run=aws_s3_access_point SWEEP=us-west-2,us-west-1,us-east-2,us-east-1
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-west-1,us-east-2,us-east-1 -sweep-run=aws_s3_access_point -timeout 60m
2021/11/12 16:51:48 [DEBUG] Running Sweepers for region (us-west-2):
2021/11/12 16:51:48 [DEBUG] Running Sweeper (aws_s3_access_point) in region (us-west-2)
2021/11/12 16:51:48 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:51:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:50 [DEBUG] Completed Sweeper (aws_s3_access_point) in region (us-west-2) in 1.494325512s
2021/11/12 16:51:50 Completed Sweepers for region (us-west-2) in 1.494628509s
2021/11/12 16:51:50 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_s3_access_point
2021/11/12 16:51:50 [DEBUG] Running Sweepers for region (us-west-1):
2021/11/12 16:51:50 [DEBUG] Running Sweeper (aws_s3_access_point) in region (us-west-1)
2021/11/12 16:51:50 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:51:50 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:50 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:51 [DEBUG] Completed Sweeper (aws_s3_access_point) in region (us-west-1) in 1.074664889s
2021/11/12 16:51:51 Completed Sweepers for region (us-west-1) in 1.074734541s
2021/11/12 16:51:51 Sweeper Tests for region (us-west-1) ran successfully:
	- aws_s3_access_point
2021/11/12 16:51:51 [DEBUG] Running Sweepers for region (us-east-2):
2021/11/12 16:51:51 [DEBUG] Running Sweeper (aws_s3_access_point) in region (us-east-2)
2021/11/12 16:51:51 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:51:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:53 [DEBUG] Completed Sweeper (aws_s3_access_point) in region (us-east-2) in 1.659487442s
2021/11/12 16:51:53 Completed Sweepers for region (us-east-2) in 1.659585639s
2021/11/12 16:51:53 Sweeper Tests for region (us-east-2) ran successfully:
	- aws_s3_access_point
2021/11/12 16:51:53 [DEBUG] Running Sweepers for region (us-east-1):
2021/11/12 16:51:53 [DEBUG] Running Sweeper (aws_s3_access_point) in region (us-east-1)
2021/11/12 16:51:53 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:51:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:51:53 [DEBUG] Completed Sweeper (aws_s3_access_point) in region (us-east-1) in 660.110726ms
2021/11/12 16:51:53 Completed Sweepers for region (us-east-1) in 660.189434ms
2021/11/12 16:51:53 Sweeper Tests for region (us-east-1) ran successfully:
	- aws_s3_access_point
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	8.223s
…RegionAccessPoint_threeRegions' and skip tests in GovCloud.
@ewbankkit ewbankkit removed their assignment Nov 12, 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 🚀.

Commercial
% make testacc PKG_NAME=internal/service/s3control TESTARGS='-run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_ -timeout 180m
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== PAUSE TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== RUN   TestAccS3ControlMultiRegionAccessPoint_basic
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_basic
=== RUN   TestAccS3ControlMultiRegionAccessPoint_disappears
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_disappears
=== RUN   TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== RUN   TestAccS3ControlMultiRegionAccessPoint_name
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_name
=== RUN   TestAccS3ControlMultiRegionAccessPoint_threeRegions
=== PAUSE TestAccS3ControlMultiRegionAccessPoint_threeRegions
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== CONT  TestAccS3ControlMultiRegionAccessPoint_disappears
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== CONT  TestAccS3ControlMultiRegionAccessPoint_threeRegions
=== CONT  TestAccS3ControlMultiRegionAccessPoint_basic
=== CONT  TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== CONT  TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
=== CONT  TestAccS3ControlMultiRegionAccessPoint_name
--- PASS: TestAccS3ControlMultiRegionAccessPoint_disappears (205.90s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock (302.26s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (304.83s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_threeRegions (307.57s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_basic (308.85s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_basic (312.58s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (317.01s)
--- PASS: TestAccS3ControlMultiRegionAccessPoint_name (437.77s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (471.96s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3control	475.416s
% make sweep SWEEPARGS=-sweep-run=aws_s3control_multi_region_access_point SWEEP=us-west-2,us-west-1,us-east-2,us-east-1
# make sweep SWEEPARGS=-sweep-run=aws_example_thing
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-west-1,us-east-2,us-east-1 -sweep-run=aws_s3control_multi_region_access_point -timeout 60m
2021/11/12 16:15:48 [DEBUG] Running Sweepers for region (us-west-2):
2021/11/12 16:15:48 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-west-2)
2021/11/12 16:15:48 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:15:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:15:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-9076530765028862245
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-4507661412741926133
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-8245535467367663015
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-7991657015236693467
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-8736564941094484309
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-4838572432635178774
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-5037569265071601673
2021/11/12 16:15:49 [DEBUG] Waiting for state to become: [success]
2021/11/12 16:15:49 [DEBUG] Deleting S3 Multi-Region Access Point: 187416307283:tf-acc-test-9089626914245414205
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:15:50 [DEBUG] Waiting for state to become: [SUCCEEDED]
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:05 [TRACE] Waiting 5s before next try
2021/11/12 16:16:10 [TRACE] Waiting 10s before next try
2021/11/12 16:16:10 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:11 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:21 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:31 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:42 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:16:52 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:03 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:13 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:23 [TRACE] Waiting 10s before next try
2021/11/12 16:17:24 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:34 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:44 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:17:55 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:05 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:16 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:26 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:36 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:37 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:47 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:18:57 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:08 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:19 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:29 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:39 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:19:50 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:00 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:11 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:21 [TRACE] Waiting 10s before next try
2021/11/12 16:20:31 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:32 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:42 [TRACE] Waiting 10s before next try
2021/11/12 16:20:47 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:52 [TRACE] Waiting 10s before next try
2021/11/12 16:20:53 [TRACE] Waiting 10s before next try
2021/11/12 16:20:53 [TRACE] Waiting 10s before next try
2021/11/12 16:20:58 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:03 [TRACE] Waiting 10s before next try
2021/11/12 16:21:08 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:13 [TRACE] Waiting 10s before next try
2021/11/12 16:21:14 [TRACE] Waiting 10s before next try
2021/11/12 16:21:19 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:24 [TRACE] Waiting 10s before next try
2021/11/12 16:21:29 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:34 [TRACE] Waiting 10s before next try
2021/11/12 16:21:39 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:44 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:45 [TRACE] Waiting 10s before next try
2021/11/12 16:21:50 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:21:55 [TRACE] Waiting 10s before next try
2021/11/12 16:22:00 [TRACE] Waiting 10s before next try
2021/11/12 16:22:05 [TRACE] Waiting 10s before next try
2021/11/12 16:22:06 [TRACE] Waiting 10s before next try
2021/11/12 16:22:16 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-west-2) in 6m28.307035036s
2021/11/12 16:22:16 Completed Sweepers for region (us-west-2) in 6m28.307241367s
2021/11/12 16:22:16 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:16 [DEBUG] Running Sweepers for region (us-west-1):
2021/11/12 16:22:16 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-west-1)
2021/11/12 16:22:16 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:16 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:16 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-west-1
2021/11/12 16:22:17 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-west-1) in 686.967832ms
2021/11/12 16:22:17 Completed Sweepers for region (us-west-1) in 686.988675ms
2021/11/12 16:22:17 Sweeper Tests for region (us-west-1) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:17 [DEBUG] Running Sweepers for region (us-east-2):
2021/11/12 16:22:17 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-east-2)
2021/11/12 16:22:17 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:17 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-east-2
2021/11/12 16:22:17 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-east-2) in 437.813655ms
2021/11/12 16:22:17 Completed Sweepers for region (us-east-2) in 437.828116ms
2021/11/12 16:22:17 Sweeper Tests for region (us-east-2) ran successfully:
	- aws_s3control_multi_region_access_point
2021/11/12 16:22:17 [DEBUG] Running Sweepers for region (us-east-1):
2021/11/12 16:22:17 [DEBUG] Running Sweeper (aws_s3control_multi_region_access_point) in region (us-east-1)
2021/11/12 16:22:17 [INFO] AWS Auth provider used: "EnvProvider"
2021/11/12 16:22:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:18 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021/11/12 16:22:19 [WARN] Skipping S3 Multi-Region Access Point sweep for region: us-east-1
2021/11/12 16:22:19 [DEBUG] Completed Sweeper (aws_s3control_multi_region_access_point) in region (us-east-1) in 1.130747602s
2021/11/12 16:22:19 Completed Sweepers for region (us-east-1) in 1.130766096s
2021/11/12 16:22:19 Sweeper Tests for region (us-east-1) ran successfully:
	- aws_s3control_multi_region_access_point
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	395.612s
GovCloud
% make testacc PKG_NAME=internal/service/s3control TESTARGS='-run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlMultiRegionAccessPoint_\|TestAccS3ControlMultiRegionAccessPointPolicy_ -timeout 180m
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_basic
    multi_region_access_point_policy_test.go:24: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPointPolicy_basic (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
    multi_region_access_point_policy_test.go:65: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
    multi_region_access_point_policy_test.go:95: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPointPolicy_details_name
    multi_region_access_point_policy_test.go:136: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPoint_basic
    multi_region_access_point_test.go:27: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPoint_basic (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPoint_disappears
    multi_region_access_point_test.go:72: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPoint_disappears (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock
    multi_region_access_point_test.go:100: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPoint_PublicAccessBlock (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPoint_name
    multi_region_access_point_test.go:137: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPoint_name (0.00s)
=== RUN   TestAccS3ControlMultiRegionAccessPoint_threeRegions
    multi_region_access_point_test.go:178: S3 Multi-Region Access Point is not supported in GovCloud partition
--- SKIP: TestAccS3ControlMultiRegionAccessPoint_threeRegions (0.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3control	3.665s

@ewbankkit
Copy link
Contributor

@farhanangullia Thanks for the contribution 🎉 👏.

I renamed the resources to aws_s3control_* to match our current standards (aws_s3_access_point was named incorrectly).

@ewbankkit ewbankkit merged commit 5ba427d into hashicorp:main Nov 13, 2021
@github-actions github-actions bot added this to the v3.66.0 milestone Nov 13, 2021
@github-actions
Copy link

This functionality has been released in v3.66.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 8, 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 8, 2022
@justinretzolk justinretzolk added the partner Contribution from a partner. label May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. partner Contribution from a partner. provider Pertains to the provider itself, rather than any interaction with AWS. service/s3control Issues and PRs that pertain to the s3control service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. 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.

Support S3 Multi-Region Access Points
5 participants