Add Multiple AWS accounts via CloudFormation
When you click the AWS CloudFormation Guide, a pop up page will re-direct to you to Amazon Cloud Formation, please follow the steps below to create stack set. If you got re-directed to CloudFormation Stack page, not CloudFormation guide, please refer to Stack Already Exists Error.
AWS Cloudformation Configuration
- Click StackSets from the CloudFormation menu.
- Click Create StackSet to go through CloudFormation guide.
- In Choose a template page, go to Permissions, under IAM execution role name, make sure AWSCloudFormationStackSetExecutionRole is selected in, then click Next.
- In Prerequisite - Prepare template, make sure Template is ready is selected.
- In Specify template section, enter the template Amazon S3 URL provided by FortiCNP add account page, then click Next.
- In Specify StackSet details page, go to StackSet name section, enter "FortiCNPMultiple" for StackSet name, then click Next.
- Click Next again in Configure StackSet options page.
- In Set deployment options page, under Account > Deployment locations, make sure Deploy stacks in accounts is selected, and enter the account numbers submitted earlier along with any other target account numbers separated by comma (,) or upload a .csv file. (In the CSV file, separate account numbers using commas as delimiters, e.g., 123456, 234567, etc.)
- Click on drop the down menu in Specify regions to select any region, then click Next.
- Review all parameters entered earlier and click Submit. Wait until the FortiCNPMultiple StackSet is fully generated.
- Go back to FortiCNP add account page and click Next Step
If there is an error after completing Amazon CloudFormation, please refer to Troubleshooting > Amazon Web Service > Stack Already Exists Error. |