Skip to content

Commit d3de824

Browse files
author
Bob Strahan
committed
Fix ACL setting for versioned main template in publish script
1 parent 58e1c44 commit d3de824

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ function set_public_acls() {
515515

516516
# Also set ACL for the main template
517517
aws s3api put-object-acl --acl public-read --bucket ${BUCKET} --key ${PREFIX}/${MAIN_TEMPLATE}
518+
aws s3api put-object-acl --acl public-read --bucket ${BUCKET} --key ${PREFIX}/${MAIN_TEMPLATE%.yaml}_${VERSION}.yaml
518519
echo ""
519520
echo "Done with ACLs."
520521
}

0 commit comments

Comments
 (0)