Skip to content

Commit efa98c4

Browse files
committed
Updated cache SAM temple to input Parameter Store value
1 parent 29ae830 commit efa98c4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

cache-extension-demo/SAM/template.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ Parameters:
1111
Type: String
1212
Description: Please enter a name for the database
1313
Default: "DynamoDbTable"
14+
ParameterValue:
15+
Type: String
16+
Description: Parameter value stored in Systems Manager Parameter Store
17+
Default: "MyParameter"
1418
SecretValue:
1519
Type: String
1620
Description: Secret value stored in AWS Secrets manager
17-
Default: "Hello World"
21+
Default: "MySecret"
1822
NoEcho: true
23+
1924

2025
Resources:
2126
# Sample Dynamo DB Table
@@ -42,7 +47,8 @@ Resources:
4247
Properties:
4348
Name: "CacheExtensions_Parameter1"
4449
Type: "String"
45-
Value: "Parameter_value"
50+
Value:
51+
Ref: ParameterValue
4652

4753
# Sample Secret record
4854
SecretRecord:

0 commit comments

Comments
 (0)