-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
s3control: Fix equivalent policy diffs #22255
Conversation
There was a problem hiding this 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=TestAccS3ControlAccessPoint_\|TestAccS3ControlAccessPointPolicy_\|TestAccS3ControlBucketPolicy_\|TestAccS3ControlMultiRegionAccessPointPolicy_\|TestAccS3ControlObjectLambdaAccessPointPolicy_' PKG=s3control
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3control/... -v -count 1 -parallel 20 -run=TestAccS3ControlAccessPoint_\|TestAccS3ControlAccessPointPolicy_\|TestAccS3ControlBucketPolicy_\|TestAccS3ControlMultiRegionAccessPointPolicy_\|TestAccS3ControlObjectLambdaAccessPointPolicy_ -timeout 180m
=== RUN TestAccS3ControlAccessPointPolicy_basic
=== PAUSE TestAccS3ControlAccessPointPolicy_basic
=== RUN TestAccS3ControlAccessPointPolicy_disappears
=== PAUSE TestAccS3ControlAccessPointPolicy_disappears
=== RUN TestAccS3ControlAccessPointPolicy_disappears_AccessPoint
=== PAUSE TestAccS3ControlAccessPointPolicy_disappears_AccessPoint
=== RUN TestAccS3ControlAccessPointPolicy_update
=== PAUSE TestAccS3ControlAccessPointPolicy_update
=== RUN TestAccS3ControlAccessPoint_basic
=== PAUSE TestAccS3ControlAccessPoint_basic
=== RUN TestAccS3ControlAccessPoint_disappears
=== PAUSE TestAccS3ControlAccessPoint_disappears
=== RUN TestAccS3ControlAccessPoint_Bucket_arn
=== PAUSE TestAccS3ControlAccessPoint_Bucket_arn
=== RUN TestAccS3ControlAccessPoint_policy
=== PAUSE TestAccS3ControlAccessPoint_policy
=== RUN TestAccS3ControlAccessPoint_publicAccessBlock
=== PAUSE TestAccS3ControlAccessPoint_publicAccessBlock
=== RUN TestAccS3ControlAccessPoint_vpc
=== PAUSE TestAccS3ControlAccessPoint_vpc
=== RUN TestAccS3ControlBucketPolicy_basic
=== PAUSE TestAccS3ControlBucketPolicy_basic
=== RUN TestAccS3ControlBucketPolicy_disappears
=== PAUSE TestAccS3ControlBucketPolicy_disappears
=== RUN TestAccS3ControlBucketPolicy_policy
=== PAUSE TestAccS3ControlBucketPolicy_policy
=== 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 TestAccS3ControlObjectLambdaAccessPointPolicy_basic
=== PAUSE TestAccS3ControlObjectLambdaAccessPointPolicy_basic
=== RUN TestAccS3ControlObjectLambdaAccessPointPolicy_disappears
=== PAUSE TestAccS3ControlObjectLambdaAccessPointPolicy_disappears
=== RUN TestAccS3ControlObjectLambdaAccessPointPolicy_Disappears_accessPoint
=== PAUSE TestAccS3ControlObjectLambdaAccessPointPolicy_Disappears_accessPoint
=== RUN TestAccS3ControlObjectLambdaAccessPointPolicy_update
=== PAUSE TestAccS3ControlObjectLambdaAccessPointPolicy_update
=== CONT TestAccS3ControlAccessPointPolicy_basic
=== CONT TestAccS3ControlBucketPolicy_disappears
=== CONT TestAccS3ControlAccessPoint_policy
=== CONT TestAccS3ControlMultiRegionAccessPointPolicy_basic
=== CONT TestAccS3ControlAccessPoint_Bucket_arn
=== CONT TestAccS3ControlBucketPolicy_basic
=== CONT TestAccS3ControlAccessPoint_vpc
=== CONT TestAccS3ControlAccessPoint_publicAccessBlock
=== CONT TestAccS3ControlObjectLambdaAccessPointPolicy_update
=== CONT TestAccS3ControlObjectLambdaAccessPointPolicy_basic
=== CONT TestAccS3ControlObjectLambdaAccessPointPolicy_Disappears_accessPoint
=== CONT TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint
=== CONT TestAccS3ControlMultiRegionAccessPointPolicy_details_name
=== CONT TestAccS3ControlObjectLambdaAccessPointPolicy_disappears
=== CONT TestAccS3ControlAccessPointPolicy_update
=== CONT TestAccS3ControlAccessPoint_disappears
=== CONT TestAccS3ControlBucketPolicy_policy
=== CONT TestAccS3ControlAccessPoint_basic
=== CONT TestAccS3ControlMultiRegionAccessPointPolicy_details_policy
=== CONT TestAccS3ControlAccessPointPolicy_disappears
=== CONT TestAccS3ControlAccessPoint_Bucket_arn
acctest.go:1254: skipping since no Outposts found
--- SKIP: TestAccS3ControlAccessPoint_Bucket_arn (2.02s)
=== CONT TestAccS3ControlAccessPointPolicy_disappears_AccessPoint
=== CONT TestAccS3ControlBucketPolicy_policy
acctest.go:1254: skipping since no Outposts found
--- SKIP: TestAccS3ControlBucketPolicy_policy (2.04s)
=== CONT TestAccS3ControlBucketPolicy_disappears
acctest.go:1254: skipping since no Outposts found
--- SKIP: TestAccS3ControlBucketPolicy_disappears (8.21s)
=== CONT TestAccS3ControlBucketPolicy_basic
acctest.go:1254: skipping since no Outposts found
--- SKIP: TestAccS3ControlBucketPolicy_basic (8.30s)
--- PASS: TestAccS3ControlAccessPoint_disappears (25.71s)
--- PASS: TestAccS3ControlAccessPoint_vpc (27.01s)
--- PASS: TestAccS3ControlAccessPointPolicy_disappears_AccessPoint (26.12s)
--- PASS: TestAccS3ControlAccessPointPolicy_disappears (28.72s)
--- PASS: TestAccS3ControlAccessPoint_publicAccessBlock (28.84s)
--- PASS: TestAccS3ControlAccessPoint_basic (30.56s)
--- PASS: TestAccS3ControlAccessPointPolicy_basic (30.70s)
--- PASS: TestAccS3ControlObjectLambdaAccessPointPolicy_basic (41.82s)
--- PASS: TestAccS3ControlAccessPointPolicy_update (42.28s)
--- PASS: TestAccS3ControlAccessPoint_policy (54.51s)
--- PASS: TestAccS3ControlObjectLambdaAccessPointPolicy_Disappears_accessPoint (55.90s)
--- PASS: TestAccS3ControlObjectLambdaAccessPointPolicy_disappears (58.47s)
--- PASS: TestAccS3ControlObjectLambdaAccessPointPolicy_update (67.64s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_disappears_MultiRegionAccessPoint (148.17s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_basic (213.77s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_policy (317.53s)
--- PASS: TestAccS3ControlMultiRegionAccessPointPolicy_details_name (348.62s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/s3control 352.110s
% make testacc TESTARGS='-run=TestAccSecretsManagerSecret_\|TestAccSecretsManagerSecretPolicy_' PKG=secretsmanager
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/secretsmanager/... -v -count 1 -parallel 20 -run=TestAccSecretsManagerSecret_\|TestAccSecretsManagerSecretPolicy_ -timeout 180m
=== RUN TestAccSecretsManagerSecretPolicy_basic
=== PAUSE TestAccSecretsManagerSecretPolicy_basic
=== RUN TestAccSecretsManagerSecretPolicy_blockPublicPolicy
=== PAUSE TestAccSecretsManagerSecretPolicy_blockPublicPolicy
=== RUN TestAccSecretsManagerSecretPolicy_disappears
=== PAUSE TestAccSecretsManagerSecretPolicy_disappears
=== RUN TestAccSecretsManagerSecret_basic
=== PAUSE TestAccSecretsManagerSecret_basic
=== RUN TestAccSecretsManagerSecret_withNamePrefix
=== PAUSE TestAccSecretsManagerSecret_withNamePrefix
=== RUN TestAccSecretsManagerSecret_description
=== PAUSE TestAccSecretsManagerSecret_description
=== RUN TestAccSecretsManagerSecret_basicReplica
=== PAUSE TestAccSecretsManagerSecret_basicReplica
=== RUN TestAccSecretsManagerSecret_overwriteReplica
=== PAUSE TestAccSecretsManagerSecret_overwriteReplica
=== RUN TestAccSecretsManagerSecret_kmsKeyID
=== PAUSE TestAccSecretsManagerSecret_kmsKeyID
=== RUN TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
=== PAUSE TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
=== RUN TestAccSecretsManagerSecret_rotationLambdaARN
=== PAUSE TestAccSecretsManagerSecret_rotationLambdaARN
=== RUN TestAccSecretsManagerSecret_rotationRules
=== PAUSE TestAccSecretsManagerSecret_rotationRules
=== RUN TestAccSecretsManagerSecret_tags
=== PAUSE TestAccSecretsManagerSecret_tags
=== RUN TestAccSecretsManagerSecret_policy
=== PAUSE TestAccSecretsManagerSecret_policy
=== CONT TestAccSecretsManagerSecretPolicy_basic
=== CONT TestAccSecretsManagerSecret_kmsKeyID
=== CONT TestAccSecretsManagerSecretPolicy_blockPublicPolicy
=== CONT TestAccSecretsManagerSecret_withNamePrefix
=== CONT TestAccSecretsManagerSecret_description
=== CONT TestAccSecretsManagerSecret_overwriteReplica
=== CONT TestAccSecretsManagerSecret_basicReplica
=== CONT TestAccSecretsManagerSecret_tags
=== CONT TestAccSecretsManagerSecretPolicy_disappears
=== CONT TestAccSecretsManagerSecret_basic
=== CONT TestAccSecretsManagerSecret_rotationLambdaARN
=== CONT TestAccSecretsManagerSecret_policy
=== CONT TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
=== CONT TestAccSecretsManagerSecret_rotationRules
--- PASS: TestAccSecretsManagerSecret_basic (27.71s)
--- PASS: TestAccSecretsManagerSecret_withNamePrefix (27.81s)
--- PASS: TestAccSecretsManagerSecret_basicReplica (27.98s)
--- PASS: TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate (39.40s)
--- PASS: TestAccSecretsManagerSecret_description (43.31s)
--- PASS: TestAccSecretsManagerSecret_kmsKeyID (48.52s)
--- PASS: TestAccSecretsManagerSecretPolicy_basic (61.22s)
--- PASS: TestAccSecretsManagerSecretPolicy_disappears (62.64s)
--- PASS: TestAccSecretsManagerSecret_tags (68.53s)
--- PASS: TestAccSecretsManagerSecret_overwriteReplica (70.87s)
--- PASS: TestAccSecretsManagerSecret_rotationLambdaARN (71.39s)
--- PASS: TestAccSecretsManagerSecret_policy (81.86s)
--- PASS: TestAccSecretsManagerSecretPolicy_blockPublicPolicy (84.05s)
--- PASS: TestAccSecretsManagerSecret_rotationRules (86.55s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/secretsmanager 89.867s
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! |
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. |
Community Note
Relates #21968
Closes #21795
Output from acceptance testing (
us-west-2
)Output from acceptance testing (GovCloud)