- AWS CLI (tested with 1.19.33)
- Terraform (tested with 0.14.3)
- AWS CDK (tested with 1.109.0)
- Java JDK (tested with openjdk 11.0.11)
- NodeJS (required by AWS CDK, tested with v12.18.3)
- Maven (tested with 3.6.3)
Should work with different versions of some prerequisites.
src/main/java/io/devopsbox/yavaconf/sdk/S3Bucket.javaS3 bucket created/updated/deleted using AWS SDKcloudformationsample CloudFormation template and two bash scripts: deploy-cfn and delete-cfnterraformTerraform code that creates an S3 bucketsrc/main/java/io/devopsbox/yavaconf/cdk/YavaconfAwsCdkBasicsStack.javastart here for code that uses AWS CDK
Run as a normal Java main for example from you IDE
cd cloudformation
./deploy-cfncd terraform
terraform applycdk deploycd cloudformation
./delete-cfncd terraform
terraform destroycdk destroy