From 1dc781a059bbe63c3b73cb999026957ae26e8ec3 Mon Sep 17 00:00:00 2001 From: Pedro Naves Date: Tue, 28 Jun 2022 17:56:06 -0300 Subject: [PATCH] Added a step to bootstrap cdk template into AWS account --- templates/infra/deploy.bat | 1 + templates/infra/deploy.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/infra/deploy.bat b/templates/infra/deploy.bat index f76610a..16b0afb 100644 --- a/templates/infra/deploy.bat +++ b/templates/infra/deploy.bat @@ -1,3 +1,4 @@ cd infra npm install +npx cdk bootstrap npx cdk deploy -c stage=%1 \ No newline at end of file diff --git a/templates/infra/deploy.sh b/templates/infra/deploy.sh index 5b01844..05c4787 100644 --- a/templates/infra/deploy.sh +++ b/templates/infra/deploy.sh @@ -1,3 +1,4 @@ cd infra npm install +npx cdk bootstrap npx cdk deploy -c stage=$1 \ No newline at end of file