@@ -7,26 +7,26 @@ Parameters:
7
7
Type : String
8
8
Default : postgres
9
9
Description : Database username
10
- MinLength : 1
11
- MaxLength : 16
10
+ MinLength : " 1 "
11
+ MaxLength : " 16 "
12
12
AllowedPattern : ' [a-zA-Z][a-zA-Z0-9]*'
13
13
ConstraintDescription : Must begin with a letter and contain only alphanumeric characters
14
14
15
15
DBPassword :
16
16
Type : String
17
17
Default : MySecretPassword123!
18
18
Description : Database password
19
- MinLength : 8
20
- MaxLength : 41
19
+ MinLength : " 8 "
20
+ MaxLength : " 41 "
21
21
NoEcho : true
22
22
ConstraintDescription : Must be at least 8 characters long
23
23
24
24
DBName :
25
25
Type : String
26
26
Default : servicelifecycle
27
27
Description : Database name
28
- MinLength : 1
29
- MaxLength : 64
28
+ MinLength : " 1 "
29
+ MaxLength : " 64 "
30
30
AllowedPattern : ' [a-zA-Z][a-zA-Z0-9]*'
31
31
ConstraintDescription : Must begin with a letter and contain only alphanumeric characters
32
32
@@ -62,7 +62,7 @@ Resources:
62
62
Type : AWS::EC2::Subnet
63
63
Properties :
64
64
VpcId : !Ref VPC
65
- AvailabilityZone : !Select [0, !GetAZs '']
65
+ AvailabilityZone : " !Select [0, !GetAZs '']"
66
66
CidrBlock : 10.0.1.0/24
67
67
MapPublicIpOnLaunch : true
68
68
Tags :
@@ -74,7 +74,7 @@ Resources:
74
74
Type : AWS::EC2::Subnet
75
75
Properties :
76
76
VpcId : !Ref VPC
77
- AvailabilityZone : !Select [1, !GetAZs '']
77
+ AvailabilityZone : " !Select [1, !GetAZs '']"
78
78
CidrBlock : 10.0.2.0/24
79
79
MapPublicIpOnLaunch : true
80
80
Tags :
@@ -137,7 +137,7 @@ Resources:
137
137
GroupDescription : Security group for Lambda function
138
138
VpcId : !Ref VPC
139
139
SecurityGroupEgress :
140
- - IpProtocol : -1
140
+ - IpProtocol : " -1 "
141
141
CidrIp : 0.0.0.0/0
142
142
Description : Allow all outbound traffic
143
143
Tags :
@@ -168,7 +168,7 @@ Resources:
168
168
MasterUsername : !Ref DBUsername
169
169
MasterUserPassword : !Ref DBPassword
170
170
DBName : !Ref DBName
171
- AllocatedStorage : 20
171
+ AllocatedStorage : " 20 "
172
172
StorageType : gp2
173
173
VPCSecurityGroups :
174
174
- !Ref DatabaseSecurityGroup
0 commit comments