Created
October 25, 2022 08:01
-
-
Save seomago/d89bc99ff19fc6e14511825f7aec3a3d to your computer and use it in GitHub Desktop.
bucket1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: Template test-MyBucket1 and 2 by manuel.cruanes 2022-09-29 | |
Resources: | |
MyBucket2: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: photobox-dev-test-my-bucket2 | |
Tags: | |
- | |
Key: "Owner" | |
Value: "[email protected]" | |
MyBucket1: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketEncryption: | |
ServerSideEncryptionConfiguration: | |
- ServerSideEncryptionByDefault: | |
SSEAlgorithm: 'AES256' | |
BucketName: photobox-dev-test-my-bucket1 | |
Tags: | |
- | |
Key: "Department" | |
Value: "test" | |
- | |
Key: "Project" | |
Value: "test" | |
- | |
Key: "Environment" | |
Value: "test" | |
- | |
Key: "Owner" | |
Value: "[email protected]" | |
Outputs: | |
MyBucket1Arn: | |
Value: !GetAtt MyBucket1.Arn | |
MyBucket1DomainName: | |
Value: !GetAtt MyBucket1.DomainName | |
MyBucket1WebsiteURL: | |
Value: !GetAtt MyBucket1.WebsiteURL | |
MyBucket2WebsiteURL: | |
Value: !GetAtt MyBucket2.WebsiteURL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment