#!/bin/bash if [[ $# -ge 2 ]]; then source .env/bin/activate export CDK_DEPLOY_ACCOUNT=$1 export CDK_DEPLOY_REGION=$2 pip install -r requirements.txt cdk bootstrap aws://$1/$2 # cdk deploy backend cdk deploy pipeline exit $? else echo 1>&2 "Provide AWS account and region as first two args." exit 1 fi