adding cloudformation template for S3
This commit is contained in:
34
.cloudformation/01-stack-storage.yaml
Normal file
34
.cloudformation/01-stack-storage.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
AWSTemplateFormatVersion: 2010-09-09
|
||||||
|
Description: S3 bucket for static assets for Strapi deployment.
|
||||||
|
Resources:
|
||||||
|
ELBExampleBucket:
|
||||||
|
Type: "AWS::S3::Bucket"
|
||||||
|
Properties:
|
||||||
|
AccessControl: PublicRead
|
||||||
|
BucketName: elb-example-bucket-cf
|
||||||
|
Tags: [
|
||||||
|
{
|
||||||
|
"Key": "git",
|
||||||
|
"Value": "web-dev"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "owner",
|
||||||
|
"Value": "home"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "project",
|
||||||
|
"Value": "strapi-elb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "test",
|
||||||
|
"Value": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "environment",
|
||||||
|
"Value": "dev"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Key": "deployment",
|
||||||
|
"Value": "cloudformation"
|
||||||
|
},
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user