Skip to content

Commit

Permalink
Merge pull request #2610 from ASFHyP3/edc-s3-read
Browse files Browse the repository at this point in the history
quote cloudformation parameter overrides that are deployment-dependent
  • Loading branch information
asjohnston-asf authored Feb 20, 2025
2 parents 849060c + e09c579 commit b8ab6b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/deploy-hyp3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ runs:
|| export ROLE_STATEMENT="--role-arn ${{ inputs.CLOUDFORMATION_ROLE_ARN }}"
[ -z ${{ inputs.DOMAIN_NAME }} ] && export DOMAIN_NAME="" \
|| export DOMAIN_NAME="DomainName=${{ inputs.DOMAIN_NAME }}"
|| export DOMAIN_NAME="DomainName='${{ inputs.DOMAIN_NAME }}'"
[ -z ${{ inputs.CERTIFICATE_ARN }} ] && export CERTIFICATE_ARN="" \
|| export CERTIFICATE_ARN="CertificateArn=${{ inputs.CERTIFICATE_ARN }}"
|| export CERTIFICATE_ARN="CertificateArn='${{ inputs.CERTIFICATE_ARN }}'"
[ -z ${{ inputs.BUCKET_READ_PRINCIPALS }} ] && export BUCKET_READ_PRINCIPALS="" \
|| export BUCKET_READ_PRINCIPALS="BucketReadPrincipals=${{ inputs.BUCKET_READ_PRINCIPALS }}"
|| export BUCKET_READ_PRINCIPALS="BucketReadPrincipals='${{ inputs.BUCKET_READ_PRINCIPALS }}'"
[ -z ${{ inputs.DISTRIBUTION_URL }} ] && export DISTRIBUTION_URL="" \
|| export DISTRIBUTION_URL="DistributionUrl=${{ inputs.DISTRIBUTION_URL }}"
|| export DISTRIBUTION_URL="DistributionUrl='${{ inputs.DISTRIBUTION_URL }}'"
aws cloudformation package \
--template-file apps/main-cf.yml \
Expand Down

0 comments on commit b8ab6b0

Please sign in to comment.