CloudFormation Configuration
Configure the directory containing CloudFormation components in atmos.yaml.
Define each component's template and deployment settings in its stack manifest.
Configuration
Configuration Reference
base_pathBase directory for native
aws/cloudformationcomponents. A component'spath:(and, when set,stack_policy.file:) resolve relative to its component directory under this base path. Defaults tocomponents/cloudformation.source.ttl- Default cache duration for remote CloudFormation sources, such as
1h,7d, or0s(refresh each invocation). Unset by default. A component'ssource.ttloverrides it. See source caching.
Configure templates, parameters, sources, and delivery targets in stack manifests.
Region Resolution
CloudFormation API calls need an AWS region. Atmos resolves it in this order, most specific wins:
settings.aws_cloudformation.regionon the component- The active identity's region
- The AWS SDK's default credential/region chain (
AWS_REGION, shared config)
components:
aws/cloudformation:
vpc:
settings:
aws_cloudformation:
region: us-west-2
# ...
Component Environment Variables
Set settings.aws_cloudformation.region to choose the component's region.
Entries for AWS_REGION or AWS_DEFAULT_REGION in the component's env block
do not select it. Atmos warns when those entries conflict with the resolved region.
Account Selection
The account is the active identity's account. A delivery target's auth block can select a different identity for that destination; an explicit CLI identity still takes precedence.
See the atmos aws cloudformation
command reference and the
CloudFormation stack configuration for
component-level fields.