brew install awscli
Installation of the official Amazon AWS command-line interfacebrew install awscli-local
AWS-cli local - Thin wrapper around theaws
command-line interface for use with LocalStackbrew install localstack/tap/localstack-cl
Local Stack installationnpm install -g aws-cdk
CDK Installationnpm install -g aws-cdk-local
CDK Local installation
This command will make sure you are looking for localstack profile. For each new terminal tab, run this command.
chmod +x local-setup.sh && . ./local-setup.sh
Setup the localstack profile and make it the current one
awslocal sts get-caller-identity
Shows the current AWS accountnpm run local:start
Start AWS services locallynpm run local:services-status
Shows the status of the services running in the LocalStack environmentawslocal apigateway get-rest-apis | grep -E '\"id\"'
Shows the api gateway idlocal:deploy:first-time
Execute when deploying CDK stacks for the first timelocal:deploy:all
Deploy all CDK stack together
local:deploy:api-gateway
Deploy only Api Gateway CDK stack.local:deploy:lambda
Deploy only Lambda CDK stack.local:deploy:s3
Deploy only S3 CDK stack.