Skip to content

Commit 7ee1786

Browse files
committed
fix yaml lint
1 parent 27cf38b commit 7ee1786

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Examples/ServiceLifecycle/template.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Resources:
6363
Tags:
6464
- Key: Name
6565
Value: ServiceLifecycle-Public-Subnet-2
66-
66+
6767
# Private Subnet 1 for RDS
6868
PrivateSubnet1:
6969
Type: AWS::EC2::Subnet
@@ -118,7 +118,7 @@ Resources:
118118
Properties:
119119
RouteTableId: !Ref PublicRouteTable
120120
SubnetId: !Ref PublicSubnet2
121-
121+
122122
# NAT Gateway for private subnets
123123
NatGatewayEIP:
124124
Type: AWS::EC2::EIP
@@ -217,7 +217,7 @@ Resources:
217217
Name: !Sub "${AWS::StackName}-db-credentials"
218218
Description: RDS database credentials
219219
GenerateSecretString:
220-
SecretStringTemplate: '{"username":"postgres"}'
220+
SecretStringTemplate: '{"username":"postgres"}'
221221
GenerateStringKey: "password"
222222
PasswordLength: 16
223223
ExcludeCharacters: '"@/\\'
@@ -232,7 +232,7 @@ Resources:
232232
ToPort: 5432
233233
SourceSecurityGroupId: !Ref LambdaSecurityGroup
234234
Description: Allow PostgreSQL access from Lambda security group
235-
235+
236236
# Security Group for SSM VPC Endpoints
237237
SSMEndpointSecurityGroup:
238238
Type: AWS::EC2::SecurityGroup
@@ -249,7 +249,7 @@ Resources:
249249
Tags:
250250
- Key: Name
251251
Value: ServiceLifecycle-SSM-Endpoint-SecurityGroup
252-
252+
253253
# Add ingress rule to Database Security Group for SSM connections
254254
DatabaseSecurityGroupIngressSSM:
255255
Type: AWS::EC2::SecurityGroupIngress
@@ -334,7 +334,7 @@ Resources:
334334
Type: AWS::Serverless::Function
335335
Properties:
336336
CodeUri: ./LambdaWithServiceLifecycle.zip
337-
#CodeUri: .build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/LambdaWithServiceLifecycle/LambdaWithServiceLifecycle.zip
337+
# CodeUri: .build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/LambdaWithServiceLifecycle/LambdaWithServiceLifecycle.zip
338338
Timeout: 60
339339
Handler: swift.bootstrap # ignored by the Swift runtime
340340
Runtime: provided.al2
@@ -406,15 +406,15 @@ Outputs:
406406
Port: ${PostgreSQLDatabase.Endpoint.Port}
407407
Database: ${DBName}
408408
Credentials: Use AWS Secrets Manager to retrieve username and password
409-
409+
410410
# SSM VPC Endpoints
411411
SSMEndpoints:
412412
Description: SSM VPC Endpoints for CloudShell access
413413
Value: !Sub |
414414
SSM Endpoint: ${SSMEndpoint}
415415
SSM Messages Endpoint: ${SSMMessagesEndpoint}
416416
EC2 Messages Endpoint: ${EC2MessagesEndpoint}
417-
417+
418418
# CloudShell Connection Instructions
419419
CloudShellInstructions:
420420
Description: Instructions for connecting from CloudShell

0 commit comments

Comments
 (0)