Look at this repository branches to see all the steps.
- AWS CDK version 1.62.0
- JDK 11
- Terraform (tested with 0.13.3)
- AWS credentials set as a default profile in your ~/.aws/credentials
You can run tests from your IDE or using:
./gradlew checkRun:
./gradlew check -Dcleanup.after.tests=trueif you want to clean AWS resources after tests. You should probably use it in CI/CD.
You can run the stack using:
cdk deployUse:
cdk destroywhen you want to destroy AWS resources created by cdk stack.