We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c0e0e commit 10d9b5dCopy full SHA for 10d9b5d
publish.sh
@@ -461,6 +461,9 @@ function build_main_template() {
461
# Upload and validate main template
462
aws s3 cp .aws-sam/${MAIN_TEMPLATE} s3://${BUCKET}/${PREFIX}/${MAIN_TEMPLATE} || exit 1
463
local TEMPLATE_URL="https://s3.${REGION}.amazonaws.com/${BUCKET}/${PREFIX}/${MAIN_TEMPLATE}"
464
+
465
+ # Also make a version tagged copy of main template for easy installation of specific versions
466
+ aws s3 cp .aws-sam/${MAIN_TEMPLATE} s3://${BUCKET}/${PREFIX}/${MAIN_TEMPLATE%.yaml}_${VERSION}.yaml
467
468
echo "Validating template: $TEMPLATE_URL"
469
aws cloudformation validate-template --template-url $TEMPLATE_URL > /dev/null || exit 1
0 commit comments