diff --git a/tutorials/base/setup.sh b/tutorials/base/setup.sh index 9ac0adf..74d4a85 100755 --- a/tutorials/base/setup.sh +++ b/tutorials/base/setup.sh @@ -67,7 +67,7 @@ run_terraform() { cd ${TF_DIR} sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf - gsutil mb gs://${BACKEND} || true + gcloud storage buckets create gs://${BACKEND} || true terraform init terraform plan -out=terraform.tfplan -var="project_id=$PROJECT_ID" -var="region=$REGION" diff --git a/tutorials/deploy-hooks-run/setup.sh b/tutorials/deploy-hooks-run/setup.sh index 2109ce5..60ee6ee 100755 --- a/tutorials/deploy-hooks-run/setup.sh +++ b/tutorials/deploy-hooks-run/setup.sh @@ -66,7 +66,7 @@ run_terraform() { cd ${TF_DIR} sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf - gsutil mb gs://${BACKEND} || true + gcloud storage buckets create gs://${BACKEND} || true terraform init terraform plan -out=terraform.tfplan -var="project_id=${PROJECT_ID}" -var="region=${REGION}" diff --git a/tutorials/deployment-strategies-run/setup.sh b/tutorials/deployment-strategies-run/setup.sh index 178a9ca..7821fd2 100755 --- a/tutorials/deployment-strategies-run/setup.sh +++ b/tutorials/deployment-strategies-run/setup.sh @@ -66,7 +66,7 @@ run_terraform() { cd ${TF_DIR} sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf - gsutil mb gs://${BACKEND} || true + gcloud storage buckets create gs://${BACKEND} || true terraform init terraform plan -out=terraform.tfplan -var="project_id=${PROJECT_ID}" -var="region=${REGION}" diff --git a/tutorials/private-targets/setup.sh b/tutorials/private-targets/setup.sh index 8253384..24b5eac 100755 --- a/tutorials/private-targets/setup.sh +++ b/tutorials/private-targets/setup.sh @@ -67,7 +67,7 @@ run_terraform() { cd ${TF_DIR} sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf - gsutil mb gs://${BACKEND} || true + gcloud storage buckets create gs://${BACKEND} || true terraform init terraform plan -out=terraform.tfplan -var="project_id=$PROJECT_ID" -var="region=$REGION" diff --git a/tutorials/verification-run/setup.sh b/tutorials/verification-run/setup.sh index e67d924..e3d4517 100755 --- a/tutorials/verification-run/setup.sh +++ b/tutorials/verification-run/setup.sh @@ -66,7 +66,7 @@ run_terraform() { cd ${TF_DIR} sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf - gsutil mb gs://${BACKEND} || true + gcloud storage buckets create gs://${BACKEND} || true terraform init terraform plan -out=terraform.tfplan -var="project_id=${PROJECT_ID}" -var="region=${REGION}"