Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions cloudformation/s3-bucket.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: 'S3 bucket for our CICD PR'

Parameters:
Environment:
Type: String
Default: test
AllowedValues:
- test
- staging
- production
Resources:
MyS3Bucket:
Type: 'AWS::S3::Bucket'
Properties:
BucketName: !Sub '${AWS::StackName}-${Environment}-bucket'
Tags:
- Key: Environment
Value: !Ref Environment
- Key: Environment
Value: GithubActionsTesting


Outputs:
BucketName:
Description: 'Name of created S3 Bucket'
Value: !Ref MyS3Bucket
Loading