Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit e339a0e

Browse files
author
Ray Janoka
committed
Adding a default for the CustomTags CFN parameter
1 parent e3dc121 commit e339a0e

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

STACKSET.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ aws cloudformation create-stack-set \
4545
ParameterKey=AutoTagDebugLogging,ParameterValue=Disabled \
4646
ParameterKey=AutoTagTagsCreateTime,ParameterValue=Enabled \
4747
ParameterKey=AutoTagTagsInvokedBy,ParameterValue=Enabled \
48-
ParameterKey=LogRetentionInDays,ParameterValue=731
48+
ParameterKey=LogRetentionInDays,ParameterValue=90
4949
# optionally list your stack sets
5050
aws cloudformation list-stack-sets --region $REGION
5151
# deploy the stack set across all accounts and regions you want
@@ -96,7 +96,7 @@ tion drop-down button and select "Stack"
9696
1. Provide the local account number and the regions to deploy to, then click the blue "Next" button
9797
1. Download the Main Stack CloudFormation Template: [autotag_event_main-template.json](https://raw.githubusercontent.com/GorillaStack/auto-tag/master/cloud_formation/event_multi_region_template/autotag_event_main-template.json)
9898
1. Select "Upload a template file" and browse to the `autotag_event_main-template.json` file
99-
1. Name the stack "AutoTag" - this cannot be changed
99+
1. Name the stack "AutoTag" - this name cannot be changed
100100
1. In the parameter section:
101101
* CodeS3Bucket: The name of the code bucket in S3 (i.e. `gorillastack-autotag-releases-${region-name}`)
102102
* CodeS3Path: This is the version of AutoTag that you wish to deploy. The default value `autotag-0.5.0.zip` is the latest version

cloud_formation/event_multi_region_template/autotag_event_main-template.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@
5151
"LogRetentionInDays": {
5252
"Description": "Number of days to retain AutoTag logs.",
5353
"Type": "Number",
54-
"Default": 731
54+
"Default": 90
5555
},
5656
"CustomTags": {
5757
"Description": "Define custom tags in a JSON document.",
58-
"Type": "String"
58+
"Type": "String",
59+
"Default": ""
5960
}
6061
},
6162
"Resources": {

cloud_formation/event_multi_region_template/autotag_event_main-template.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@
4848
parameter 'LogRetentionInDays',
4949
Description: 'Number of days to retain AutoTag logs.',
5050
Type: 'Number',
51-
Default: 731
51+
Default: 90
5252

5353
parameter 'CustomTags',
5454
Description: 'Define custom tags in a JSON document.',
55-
Type: 'String'
55+
Type: 'String',
56+
Default: ''
5657

5758
resource 'AutoTagLambdaFunction', Type: 'AWS::Lambda::Function', Properties: {
5859
Code: {

0 commit comments

Comments
 (0)