Deleted Log from sesdomainrole and added bash to create new s3 bucket while moving stack templates into it

This commit is contained in:
Brandon Patterson 2022-02-10 16:57:07 -05:00
Родитель f33c779302
Коммит 8a16e4098a
2 изменённых файлов: 17 добавлений и 6 удалений

Просмотреть файл

@ -1245,11 +1245,6 @@ Resources:
- ses:VerifyEmailIdentity
Resource:
- "*"
- Effect: Allow
Action:
- logs:*
Resource: arn:aws:logs:*:*:*
SESDomainRecords:
Type: AWS::Route53::RecordSetGroup
Properties:

16
cloudformation/stackcopy.sh Executable file
Просмотреть файл

@ -0,0 +1,16 @@
#!/bin/bash
echo Enter Date in from yyyy-dd-mm
read date
echo $date
aws s3 cp s3://hubs-cloud/stack-beta.yaml "s3://hubs-cloud/release/$date/stack-beta.yaml"
aws s3 cp s3://hubs-cloud/stack-personal.yaml "s3://hubs-cloud/release/$date/stack-personal.yaml "
aws s3 cp s3://hubs-cloud/stack-pro.yaml "s3://hubs-cloud/release/$date/stack-pro.yaml"
aws s3 cp s3://hubs-cloud/stack-pro-single.yaml "s3://hubs-cloud/release/$date/stack-pro-single.yaml "