@@ -7,26 +7,26 @@ Parameters:
77 Type : String
88 Default : postgres
99 Description : Database username
10- MinLength : 1
11- MaxLength : 16
10+ MinLength : " 1 "
11+ MaxLength : " 16 "
1212 AllowedPattern : ' [a-zA-Z][a-zA-Z0-9]*'
1313 ConstraintDescription : Must begin with a letter and contain only alphanumeric characters
1414
1515 DBPassword :
1616 Type : String
1717 Default : MySecretPassword123!
1818 Description : Database password
19- MinLength : 8
20- MaxLength : 41
19+ MinLength : " 8 "
20+ MaxLength : " 41 "
2121 NoEcho : true
2222 ConstraintDescription : Must be at least 8 characters long
2323
2424 DBName :
2525 Type : String
2626 Default : servicelifecycle
2727 Description : Database name
28- MinLength : 1
29- MaxLength : 64
28+ MinLength : " 1 "
29+ MaxLength : " 64 "
3030 AllowedPattern : ' [a-zA-Z][a-zA-Z0-9]*'
3131 ConstraintDescription : Must begin with a letter and contain only alphanumeric characters
3232
@@ -62,7 +62,7 @@ Resources:
6262 Type : AWS::EC2::Subnet
6363 Properties :
6464 VpcId : !Ref VPC
65- AvailabilityZone : !Select [0, !GetAZs '']
65+ AvailabilityZone : " !Select [0, !GetAZs '']"
6666 CidrBlock : 10.0.1.0/24
6767 MapPublicIpOnLaunch : true
6868 Tags :
@@ -74,7 +74,7 @@ Resources:
7474 Type : AWS::EC2::Subnet
7575 Properties :
7676 VpcId : !Ref VPC
77- AvailabilityZone : !Select [1, !GetAZs '']
77+ AvailabilityZone : " !Select [1, !GetAZs '']"
7878 CidrBlock : 10.0.2.0/24
7979 MapPublicIpOnLaunch : true
8080 Tags :
@@ -137,7 +137,7 @@ Resources:
137137 GroupDescription : Security group for Lambda function
138138 VpcId : !Ref VPC
139139 SecurityGroupEgress :
140- - IpProtocol : -1
140+ - IpProtocol : " -1 "
141141 CidrIp : 0.0.0.0/0
142142 Description : Allow all outbound traffic
143143 Tags :
@@ -168,7 +168,7 @@ Resources:
168168 MasterUsername : !Ref DBUsername
169169 MasterUserPassword : !Ref DBPassword
170170 DBName : !Ref DBName
171- AllocatedStorage : 20
171+ AllocatedStorage : " 20 "
172172 StorageType : gp2
173173 VPCSecurityGroups :
174174 - !Ref DatabaseSecurityGroup
0 commit comments