Repository for CloudFormation templates used to install Cirro.
This repository updates periodically, so make sure to keep your role up-to-date.
You can get the account ID parameter from the pre-filled CloudFormation deployment wizard when creating a Cirro project, or by contacting Cirro support.
If your organization already has Terraform set up to manage your AWS infrastructure, using our module is the easiest way to get started.
You can also copy/paste the contents of cirro_project_deploy_role.tf into your existing setup.
The module will use CloudFormation StackSets to deploy the template automatically to specified target accounts and/or organizational units (OUs).
It is recommended to keep all Cirro-related accounts in an OU to make deployment easy.
module "cirro_deploy_role" {
source = "./modules/cirro_deploy_role"
# or direct from GitHub, if you'd prefer
# source = "git::https://github.com/CirroBio/Cirro-install-resources.git//modules/cirro_deploy_role"
data_portal_account_id = "1234567890"
# Organization units to deploy this role to
deploy_ous = []
# Account IDs to deploy this role to
deploy_account_ids = []
}- Go to CloudFormation → StackSets → Create StackSet.
- Use Service-managed permissions.
- Use Template is ready
- Upload the template in the wizard or use our S3 mirror.
- Enter a name for the StackSet (e.g. CirroProjectDeploymentRoleStackSet).
- Enter the parameters:
pDataPortalAccountIdpAccountOwner, this can be left blank in a typical organization setup.
- Select Active under Execution configuration
- Select Deploy to organizational units (OUs). Enter the OU ID where your Cirro project accounts are located.
- Select a number for Maximum concurrent accounts and Failure tolerance. 50+ is a good number in order to concurrently deploy the role. This is fine for simple stacks.
The easiest In the Create Project interface, select I want to use my own AWS account and click the CloudFormation Wizard to bring up the wizard with all the details filled in.
You can also manually launch the CloudFormation Create stack wizard through the AWS Console. Use the S3 mirror when providing the template source.
https://cirro-marketplace-assets.s3.us-west-2.amazonaws.com/cirro_project_deployment_role.yml
You can update the stack by:
- Go to CloudFormation → Stacks → Select the deployment role
- Click Update Stack -> Make a direct update
- Replace existing template
- Enter the S3 mirror URL as the template source (or upload the
.ymlmanually) - No other changes are necessary, click Next and Submit to deploy the new template
The process for updating the stack set is similar:
- Go to CloudFormation → StackSets → Select the deployment role stack set
- Click Actions → Edit stack set details
- Under Prepare template, select Replace current template
- Enter the S3 mirror URL as the template source (or upload the
.ymlmanually) - Continue until Submit.