We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4766b0c commit 2ffd591Copy full SHA for 2ffd591
src/regional/account_setup/resources/ec2.py
@@ -113,6 +113,6 @@ def enable_snapshot_block_public_access(self) -> None:
113
114
def enable_ami_block_public_access(self) -> None:
115
try:
116
- self.client.enable_image_block_public_access(ImageBlockPublicAccessState="block-all-sharing")
+ self.client.enable_image_block_public_access(ImageBlockPublicAccessState="block-new-sharing")
117
except botocore.exceptions.ClientError:
118
logger.exception(f"Unable to enable AMI block public access in {self.region_name}")
0 commit comments