Skip to content

pgarbe/cdk-journey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

The journey of a CloudFormation template into CDK

This source code is used as example in my talks.

Prerequisits

Have VPC stack installed (see https://templates.cloudonaut.io/en/stable/vpc/) Have Public Zone stack installed (https://templates.cloudonaut.io/en/stable/vpc/#public-dns-zone)

Deploy the initial pipeline:

aws cloudformation deploy --stack-name cdk-journey-pipeline --template-file infra/pipeline.yaml --capabilities CAPABILITY_IAM

From CloudFormation to CDK

Step 1: Migrate the pipeline template

git checkout step1
cdk bootstrap --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess 

Step 2: Include infrastructure template

git checkout step2

Step 3: Turn into native CDK app

git checkout step3

Step 4: Take advantage of CDK

git checkout step4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published