This is a blank project for Go development with CDK.
The cdk.json file tells the CDK Toolkit how to execute your app.
cdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation templatego testrun unit tests
Notes: #As we don't have environment variable, use the aws cdk toolkits environement cdk bootstrap --profile james-user
If using other command, cdk boostrap --context account=... right now it won't work.
-
Build bootstrap GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap .
-
Build zip zip service.zip bootstrap
-
CDK diff
-
CDK Deploy