You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-11Lines changed: 26 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -49,22 +49,35 @@ We suggest that you deploy your main stack to one of these regions, however, if
49
49
50
50
### Option 1: Deploy through the AWS CLI
51
51
52
-
__Main Stack__
52
+
Deploy this stack set first in all desired accounts in a single "master" region. This stack is responsible for consuming events from each account it is deployed to, in all regions.
53
+
54
+
__Main StackSet__
53
55
54
56
```bash
55
57
export REGION=ap-southeast-2 # set this to the region you plan to deploy to
After the main stack status is CREATE_COMPLETE deploy the collector stack to each region where AWS resources should be tagged. This stack deploys the CloudWatch Event Rule and the SNS Topic.
Deploy this stack first in a single "master" region. This stack is responsible for consuming events from all accounts, in all regions.
107
+
Deploy this stack set first in all desired accounts in a single "master" region. This stack is responsible for consuming events from each account it is deployed to, in all regions.
95
108
109
+
1. Read about the [CloudFormation StackSet Concepts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html)
110
+
1. Follow the instructions in the [CloudFormation StackSet Prerequisites](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html). To quickly deploy the requisite roles through the AWS CLI, [see the prerequisites section above](#prerequisites).
96
111
1. Go to the [CloudFormation console](https://console.aws.amazon.com/cloudformation/home)
97
-
1. Click the CloudFormation drop-down button and select "Stack"
98
-
1. Click the blue "Create Stack" button
112
+
tion drop-down button and select "Stack"
113
+
1. Click the blue "Create StackSet" button
114
+
1. Provide the local account number and the regions to deploy to, then click the blue "Next" button
99
115
1. Select "Amazon S3 URL" and enter `https://gorillastack-autotag-releases.s3-ap-southeast-2.amazonaws.com/templates/autotag_event_main-template.json`
100
116
1. Name the stack "AutoTag" - this cannot be changed
101
117
1. In the parameter section:
@@ -105,13 +121,12 @@ Deploy this stack first in a single "master" region. This stack is responsible f
105
121
* AutoTagDebugLoggingOnFailure: Enable/Disable Debug Logging when the Lambda Function has a failure
106
122
* AutoTagTagsCreateTime: Enable/Disable the "CreateTime" tagging for all resources
107
123
* AutoTagTagsInvokedBy: Enable/Disable the "InvokedBy" tagging for all resources (when it is provided)
108
-
124
+
1. Select a single master region, and enter the accountIds that you want to deploy the StackSet to.
125
+
109
126
__Collector StackSet__
110
127
111
128
After the main stack status is CREATE_COMPLETE deploy the collector stack to each region where AWS resources should be tagged. This stack deploys the CloudWatch Event Rule and the SNS Topic.
112
129
113
-
1. Read about the [CloudFormation StackSet Concepts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html)
114
-
1. Follow the instructions in the [CloudFormation StackSet Prerequisites](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html). To quickly deploy the requisite roles through the AWS CLI, [see the prerequisites section above](#prerequisites).
115
130
1. Go to the [CloudFormation console](https://console.aws.amazon.com/cloudformation/home)
116
131
1. Click the blue "Create StackSet" button
117
132
1. Provide the local account number and the regions to deploy to, then click the blue "Next" button
0 commit comments