Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grendel-consulting/terraform-aws-cdk_bootstrap
Refactoring the CDK Bootstrap Cloudformation
https://github.com/grendel-consulting/terraform-aws-cdk_bootstrap
aws cdktf
Last synced: about 2 months ago
JSON representation
Refactoring the CDK Bootstrap Cloudformation
- Host: GitHub
- URL: https://github.com/grendel-consulting/terraform-aws-cdk_bootstrap
- Owner: grendel-consulting
- License: mit
- Created: 2023-04-24T20:55:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T06:18:05.000Z (about 2 months ago)
- Last Synced: 2024-11-09T07:24:02.944Z (about 2 months ago)
- Topics: aws, cdktf
- Language: HCL
- Homepage:
- Size: 395 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# CDK Bootstrap
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/grendel-consulting/terraform-aws-cdk_bootstrap/badge)](https://scorecard.dev/viewer/?uri=github.com/grendel-consulting/terraform-aws-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](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) 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.