Skip to content

Commit

Permalink
Merge pull request #1412 from buildkite/no-acls
Browse files Browse the repository at this point in the history
stop setting ACLs when publishing templates to S3
  • Loading branch information
yob authored Dec 12, 2024
2 parents 1866829 + bedabbc commit f37669c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/steps/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -euo pipefail
s3_upload_templates() {
local bucket_prefix="${1:-}"

aws s3 cp --content-type 'text/yaml' --acl public-read build/mappings.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}mappings.yml"
aws s3 cp --content-type 'text/yaml' --acl public-read build/aws-stack.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}aws-stack.yml"
aws s3 cp --content-type 'text/yaml' build/mappings.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}mappings.yml"
aws s3 cp --content-type 'text/yaml' build/aws-stack.yml "s3://${BUILDKITE_AWS_STACK_TEMPLATE_BUCKET}/${bucket_prefix}aws-stack.yml"
}

echo "--- :git: Checking and fetching git tags"
Expand Down

0 comments on commit f37669c

Please sign in to comment.