A company has multiple AWS accounts managed under AWS Organizations. The SysOps administrator needs to deploy a common AWS CloudFormation template to all accounts in a specific organizational unit (OU), ensuring consistent security group configurations across the organization. Which AWS service should the administrator use to perform this deployment?
Trap 1: AWS CodePipeline with cross-account actions
AWS CodePipeline with cross-account actions can technically deploy stacks into multiple accounts, but it requires the sysops admin to build a separate pipeline stage or action per target account, configure cross-account KMS keys, S3 artifact buckets, and IAM roles, and manually maintain the account list. Unlike StackSets, it does not dynamically discover or target accounts via AWS Organizations OUs, so every account change triggers pipeline maintenance. This makes it significantly more operationally overhead than a StackSet.
Trap 2: AWS Service Catalog portfolio
AWS Service Catalog portfolio lets administrators create and share approved CloudFormation products that users can provision on demand, but it does not push deployments automatically to every account in an OU. Each target account's users would have to launch the product individually, or the admin would need separate automation to invoke provisioning, which does not guarantee uniform, consistent deployment at scale. The service is designed for governed self-service, not bulk multi-account stack orchestration.
Trap 3: AWS Systems Manager Automation
AWS Systems Manager Automation is designed to run runbooks against individual resources, such as patching an EC2 instance or configuring a single account's resource. Although an Automation runbook could invoke cross-account roles to create stacks, there is no native capability to fan out a CloudFormation template across all accounts and regions in an organization with automatic OU membership tracking. Building that would require custom scripted loops and per-account IAM trust relationships, adding operational complexity and making it a poor fit.
- A
AWS CloudFormation StackSets
AWS CloudFormation StackSets is the correct choice because it is purpose-built to deploy the same CloudFormation template across many accounts and regions from a single operation. With service-managed permissions, StackSets integrates natively with AWS Organizations, letting the sysops admin target entire organizational units (OUs) and automatically handle account addition/removal without custom roles or scripts. This delivers the least operational overhead for centralized, standardized stack deployment.
- B
AWS CodePipeline with cross-account actions
Why it fails: AWS CodePipeline with cross-account actions can technically deploy stacks into multiple accounts, but it requires the sysops admin to build a separate pipeline stage or action per target account, configure cross-account KMS keys, S3 artifact buckets, and IAM roles, and manually maintain the account list. Unlike StackSets, it does not dynamically discover or target accounts via AWS Organizations OUs, so every account change triggers pipeline maintenance. This makes it significantly more operationally overhead than a StackSet.
- C
AWS Service Catalog portfolio
Why it fails: AWS Service Catalog portfolio lets administrators create and share approved CloudFormation products that users can provision on demand, but it does not push deployments automatically to every account in an OU. Each target account's users would have to launch the product individually, or the admin would need separate automation to invoke provisioning, which does not guarantee uniform, consistent deployment at scale. The service is designed for governed self-service, not bulk multi-account stack orchestration.
- D
AWS Systems Manager Automation
Why it fails: AWS Systems Manager Automation is designed to run runbooks against individual resources, such as patching an EC2 instance or configuring a single account's resource. Although an Automation runbook could invoke cross-account roles to create stacks, there is no native capability to fan out a CloudFormation template across all accounts and regions in an organization with automatic OU membership tracking. Building that would require custom scripted loops and per-account IAM trust relationships, adding operational complexity and making it a poor fit.