AWS CloudFormation StackSets enable users to create products that deploy across multiple accounts and Regions. In Service Catalog, a stack set constraint allows you to configure product deployment options.
To apply a stack set constraint to a Service Catalog product
-
As an AWS Service Catalog administrator, choose the portfolio that contains the product you want to apply a constraint.
-
Expand Constraints and choose Add constraints.
-
Choose the product from Product and set Constraint type to Stack Set. Then choose Continue.
-
On the Stack set constraint page, enter a description.
-
Choose the accounts in which you want to create products.
-
Choose the Regions in which you want to deploy products. Products deploy in these Regions in the order that you specify.
-
Choose the AWSCloudFormationStackSetAdministratorRole role to manage your target accounts.
-
Choose the AWSCloudFormationStackSetExecutionRole role that the administrator role will assume.
-
Choose Submit.
Note
You can use the available AWS CloudFormation templates for the JSM connector to configure your AWS account to enable AWS Service Catalog integration. For more information, see Baseline Permissions.
Example stack set outputs:
SCStackSetAdministratorRoleARN arn:aws:iam::123456789123:role/AWSCloudFormationStackSetAdministrationRole SCIAMStackSetExecutionRoleName AWSCloudFormationStackSetExecutionRole SCIAMAdminRoleARN arn:aws:iam::123456789123:role/AWSCloudFormationStackSetAdministrationRole
Note that Service Catalog products can have either a stack set or a launch constraint, but not both.