feat: create new Cloudformation template to make a S3 bucket as a source
This commit is contained in:
parent
e5fda53600
commit
45028307fd
1 changed files with 19 additions and 0 deletions
19
template-blog-source-bucket.yaml
Normal file
19
template-blog-source-bucket.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
AWSTemplateFormatVersion: '2010-09-09'
|
||||
|
||||
Parameters:
|
||||
BucketName:
|
||||
Type: String
|
||||
Description: "The name for the S3 bucket to be used for public website hosting (must be globally unique)"
|
||||
Default: "naputo-blog-source"
|
||||
|
||||
Resources:
|
||||
|
||||
SourceBucket:
|
||||
Type: AWS::S3::Bucket
|
||||
Properties:
|
||||
BucketName: !Ref BucketName
|
||||
Tags:
|
||||
- Key: Project
|
||||
Value: Git-server
|
||||
VersioningConfiguration:
|
||||
Status: Enabled
|
||||
Loading…
Add table
Add a link
Reference in a new issue