Random Wits

Life is too short for a diary

$ about
├── tags

├── bookshelf

├── resources

├── quotes

├── habits

└── bio






Posts Tagged “cloudformation”

Fri 25 Jun 2021

Dynamically create cloudformation stack using AWS CDK

AWS CDK is a great framework to programmatically deploy cloudformation stack. If you are unfamiliar with AWS CDK, I would recommend first to check out [Getting started with AWS CDK](http://randomwits.com/blog/tutorial-cdk-aws). One of the pet peeves I have while designing cloudformation template is redundancy. I have to manually copy-paste the same properties across multiple resources. I wanted to leverage AWS CDK to create an interface that would allow tto dynamically create cloudformation. For the interface, I harked back to the good old CSV file...

Continue reading → aws cdk cloudformation typescript tutorial


Mon 14 Jun 2021

Gettting Started with AWS CDK

Cloudformation service in AWS allows you to describe an entire set of resources required to make a pipeline. The cloudformation template can be described in JSON or YAML format. Updating the cloudformation template was not a pleasant experience. I wanted to discover alternative ways to generate cloudformation template programmatically.

The CDK library provides you a way to declare the resources in your favorite languages like Java, Javascript, Typescript, and Python. In this tutorial, we will use typescript to generate our cloudformation template...

Continue reading → aws cdk cloudformation typescript tutorial