Add your AWS credentials as two environment variables, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, replacing AAAAAA with each respective values.
export AWS_ACCESS_KEY_ID=AAAAAA
export AWS_SECRET_ACCESS_KEY=AAAAA
AWS s3 bucket configuration with python and cdktf
Install project dependencies
cdktf get
Generate CDK for Terraform constructs for Terraform provides and modules used in the project.
cdktf synth