What does the Cloud Formation template do when I add an AWS account?
The AWS Cloud Formation template creates a cross-account role that has both a unique external ID and a policy that allows Deep Security to access your AWS resources.
To accomplish this, the template first creates a temporary role with the necessary Deep Security permissions. Using this role, it starts an EC2 instance that performs the following actions:
- Creates the cross-account role for Deep Security.
- Obtains the Amazon Resource Name (ARN) of the cross-account role.
- Sends the ARN to the Deep Security API.
Once the above is finished, the EC2 instance shuts itself down.
For more details, you can view the content of the Cloud Formation template directly in AWS by editing it during the template selection process.