Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.09 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.09 KB

IaC using CDKTF

Prerequisites

Configure AWS credentials

aws configure
# AWS Access Key ID [None]: <value>
# AWS Secret Access Key [None]: <value>
# Default region name [None]: us-east-1
aws configure set aws_session_token <access-token>
  • Manually create new S3 bucket named serverless-project-cdktf-state with default configurations.

NOTE: You only need to create this bucket once

Installation

npm install

Deploy

cdktf deploy

Destroy

cdktf destroy

Documentation

Use this documentation to find relevant AWS service and its configuration example - https://github.com/hashicorp/cdktf-aws-cdk/blob/main/docs/API.md