Released yesterday is the functionality to block public access on S3 objects on the account level and the bucket level. We should implement this within the existing bucket resource as well as implement a new resource for the account-level settings.
I'm happy to take a stab at this over the weekend.
I'm going to work on this this evening. Hopefully I'll have something worthy of initial implementation comments soon.
@oarmstrong have you had a chance to look at this yet? Would totally be willing to pick it up if not ๐
@acburdine unfortunately I've been busy so this slipped off my list. I'm still happy to do it but no idea when I'll really be able to get around to it (weekend maybe). If you want to pick it up instead please feel free! :)
@oarmstrong ok! I'll look into it today.
Hey guys, looks like the account level public access block has been added per MR above. But is the support for bucket level public access block included?
The aws_s3_account_public_access_block
resource 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.
The bucket level support still needs to be reviewed and potentially adjusted in #6607.
The aws_s3_bucket_public_access_block
resource has now been merged as well, thanks to @acburdine!
We were anticipating cutting 1.54.0 in early January after our end of year break, but this one might be good to get out today beforehand due to popularity... more soon. ๐
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!
Most helpful comment
The
aws_s3_bucket_public_access_block
resource has now been merged as well, thanks to @acburdine!We were anticipating cutting 1.54.0 in early January after our end of year break, but this one might be good to get out today beforehand due to popularity... more soon. ๐