Skip to content

Commit c70685a

Browse files
committedJun 15, 2021
Support CFN parameter
1 parent 375b86a commit c70685a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎cf.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
# SPDX-License-Identifier: Apache-2.0
33
AWSTemplateFormatVersion: 2010-09-09
44
Description: CloudFormation template that deploys hello-app-runner app
5+
Parameters:
6+
ServiceName:
7+
Type: String
8+
Default: hello-app-runner
9+
Description: Name for your App Runner service.
510
Resources:
611
Service:
712
Metadata:
813
'aws:apprunner:description': 'hello-app-runner example service'
914
Type: AWS::AppRunner::Service
1015
Properties:
11-
ServiceName: hello-app-runner
16+
ServiceName: !Ref ServiceName
1217
SourceConfiguration:
1318
AutoDeploymentsEnabled: false
1419
ImageRepository:

0 commit comments

Comments
 (0)
Please sign in to comment.