Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.01 KB

File metadata and controls

15 lines (8 loc) · 1.01 KB

CDK Bootstrap

Re-implementation of the CDK bootstrapping CloudFormation into a Terraform module, for easy use with AWS Account Factory for Terraform.

Context

Before deploying resources using AWS CDK you must bootstrap each environment, i.e. each combination of AWS Account and Region you wish to deploy to. Out of the box this can be achieved with the cdk bootstrap command, which manifests as a CloudFormation Stack. When using AWS Control Tower with the AWS Account Factory for Terraform, a Terraform-based approach fits better.

Provenance

By default, CDK allows for multiple CDK boostrapping stacks in th same environment, via the qualifier parameter, which acts as a namespace.

Version

Over time the CDK bootstrap stack may evolve; this implementation is based on the most recent, version 17, and the raw CloudFormation captured from running cdk bootstrap --show-template > cloudformation\bootstrap.yaml is versioned in this repository.