Editing Cloudformation AWS::S3::Bucket example
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
Resources: | Resources: | ||
TemplatesBucket: | TemplatesBucket: | ||
− | Type: | + | Type: AWS::S3::Bucket |
DeletionPolicy: Retain | DeletionPolicy: Retain | ||
UpdateReplacePolicy: Retain | UpdateReplacePolicy: Retain | ||
Properties: | Properties: | ||
− | BucketName: | + | BucketName: !Ref BucketName |
PublicAccessBlockConfiguration: | PublicAccessBlockConfiguration: | ||
BlockPublicAcls: true | BlockPublicAcls: true | ||
Line 26: | Line 26: | ||
== Related == | == Related == | ||
− | |||
− | |||
* <code>[[aws cloudformation deploy]] --template-file /path_to_template/template.json --stack-name my-new-stack-name --parameter-overrides BucketName={bucket_name}</code> | * <code>[[aws cloudformation deploy]] --template-file /path_to_template/template.json --stack-name my-new-stack-name --parameter-overrides BucketName={bucket_name}</code> | ||
"[[ResourceStatusReason]]": "Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 1234567; S3 Extended Request ID: Ixxxxxxx=; Proxy: null)", | "[[ResourceStatusReason]]": "Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: 1234567; S3 Extended Request ID: Ixxxxxxx=; Proxy: null)", | ||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
* <code>[[aws s3 mb]]</code> | * <code>[[aws s3 mb]]</code> | ||
* <code>[[aws s3api create-bucket]]</code> | * <code>[[aws s3api create-bucket]]</code> | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{CloudFormation}} | * {{CloudFormation}} | ||
− | |||
− |
Advertising: