Skip to content

grendel-consulting/terraform-aws-cdk_bootstrap

Repository files navigation

CDK Bootstrap

OpenSSF Scorecard

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.

About

Refactoring the CDK Bootstrap Cloudformation

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages