File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ function releaseToRegion {
1717 echo " publishing layers to region $region "
1818 sam package \
1919 --output-template-file packaged.yaml \
20- --s3-bucket ${bucket}
20+ --s3-bucket ${bucket} \
21+ --region ${region}
2122 version_=" ${version// \. / _} "
2223 stack_name=r-${version// \. / -}
2324 sam deploy \
2425 --template-file packaged.yaml \
2526 --stack-name ${stack_name} \
26- --capabilities CAPABILITY_IAM \
2727 --parameter-overrides Version=${version_} \
2828 --no-fail-on-empty-changeset \
2929 --region ${region}
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ function integrationTest {
1818 sam package \
1919 --output-template-file packaged.yaml \
2020 --s3-bucket ${bucket} \
21- --template-file test-template.yaml
21+ --template-file test-template.yaml \
22+ --region ${region}
2223 version_=" ${version// \. / _} "
2324 stack_name=r-${version// \. / -} -test
2425 sam deploy \
@@ -28,7 +29,7 @@ function integrationTest {
2829 --parameter-overrides Version=${version_} \
2930 --no-fail-on-empty-changeset \
3031 --region ${region}
31- VERSION=${version_} INTEGRATION_TEST=True pipenv run python -m unittest
32+ VERSION=${version_} INTEGRATION_TEST=True AWS_DEFAULT_REGION= ${region} pipenv run python -m unittest
3233}
3334
3435regions=(
You can’t perform that action at this time.
0 commit comments