| Key | Value |
|---|---|
| Services | SNS, DynamoDB, VPC |
| Integrations | CDK for Terraform, Terraform, Pipenv |
| Categories | IaC; Serverless |
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.
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKENto activate LocalStack. - Docker
localstackCLI- Terraform
cdktfpipenv
make checkmake installexport LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make startmake deployThe script:
- Synthesizes CDK for Terraform constructs into Terraform JSON configuration.
- Deploys an SNS topic, DynamoDB table, and VPC to LocalStack using Terraform.
This code is available under the Apache 2.0 license.