-
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
New Resource: aws_s3_account_public_access_block #6851
Conversation
This implements Public Access Block configuration within the new S3 Control API, which is separate from the existing S3 API. The S3 Control API features the same eventual consistency complexity as the existing S3 API across all operations. The resource and acceptance testing try handling the eventual consistency as best as possible up to a minute. The resource is named `aws_s3_account_public_access_block` instead of `aws_s3control_public_access_block` to be more operator friendly with respect to it working at the account level. Changes: * provider: Implement S3 Control custom endpoint, session, and connection * New Resource: aws_s3_account_public_access_block Output from acceptance testing: ``` --- PASS: TestAccAWSS3Account (169.55s) --- PASS: TestAccAWSS3Account/PublicAccessBlock (169.55s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/basic (13.01s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/disappears (7.95s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/AccountId (11.47s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/BlockPublicAcls (25.04s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/BlockPublicPolicy (25.33s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/IgnorePublicAcls (25.33s) --- PASS: TestAccAWSS3Account/PublicAccessBlock/RestrictPublicBuckets (26.40s) ```
12d1841
to
93c112a
Compare
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
This has been released in version 1.53.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Reference: #6489
This implements Public Access Block configuration within the new S3 Control API, which is separate from the existing S3 API. The S3 Control API features the same eventual consistency complexity as the existing S3 API across all operations. The resource and acceptance testing try handling the eventual consistency as best as possible up to a minute.
The resource is named
aws_s3_account_public_access_block
instead ofaws_s3control_public_access_block
to be more operator friendly with respect to it working at the account level.Changes:
aws_s3_account_public_access_block
Output from acceptance testing (explicitly serialized for TeamCity):