Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

CDK for Terraform Resources

Key Value
Services SNS, DynamoDB, VPC
Integrations CDK for Terraform, Terraform, Pipenv
Categories IaC; Serverless

Introduction

A demo application illustrating deployment of AWS resources (SNS, DynamoDB, VPC) using CDK for Terraform with LocalStack. CDK for Terraform lets you define infrastructure using familiar programming languages and generates Terraform configuration from it.

Prerequisites

Check prerequisites

make check

Installation

make install

Start LocalStack

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start

Deploy the Application

make deploy

The script:

  • Synthesizes CDK for Terraform constructs into Terraform JSON configuration.
  • Deploys an SNS topic, DynamoDB table, and VPC to LocalStack using Terraform.

License

This code is available under the Apache 2.0 license.