Skip to content

Commit

Permalink
cdk deploy parameter syntax :
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Nov 1, 2024
1 parent 2874467 commit c74d204
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/actions/deploy-hyp3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,29 @@ runs:
aws cloudformation package \
--template-file apps/main-cf.yml \
--s3-bucket '${{ inputs.TEMPLATE_BUCKET }}' \
--s3-bucket ${{ inputs.TEMPLATE_BUCKET }} \
--output-template-file packaged.yml
export STACK_NAME='${{ inputs.STACK_NAME }}'
export STACK_NAME=${{ inputs.STACK_NAME }}
cdk diff
cdk deploy \
--require-approval=never \
--parameters \
VpcId='${{ inputs.VPC_ID }}' \
SubnetIds='${{ inputs.SUBNET_IDS }}' \
SecretArn='${{ inputs.SECRET_ARN }}' \
ImageTag='${{ inputs.IMAGE_TAG }}' \
ProductLifetimeInDays='${{ inputs.PRODUCT_LIFETIME }}' \
AuthPublicKey='${{ inputs.AUTH_PUBLIC_KEY }}' \
$DOMAIN_NAME \
$CERTIFICATE_ARN \
$ORIGIN_ACCESS_IDENTITY_ID \
$DISTRIBUTION_URL \
DefaultCreditsPerUser='${{ inputs.DEFAULT_CREDITS_PER_USER }}' \
DefaultApplicationStatus='${{ inputs.DEFAULT_APPLICATION_STATUS }}' \
DefaultMaxvCpus='${{ inputs.DEFAULT_MAX_VCPUS }}' \
ExpandedMaxvCpus='${{ inputs.EXPANDED_MAX_VCPUS }}' \
MonthlyBudget='${{ inputs.MONTHLY_BUDGET }}' \
RequiredSurplus='${{ inputs.REQUIRED_SURPLUS }}' \
AmiId='${{ inputs.AMI_ID }}' \
InstanceTypes='${{ inputs.INSTANCE_TYPES }}'
:VpcId='${{ inputs.VPC_ID }}' \
:SubnetIds='${{ inputs.SUBNET_IDS }}' \
:SecretArn='${{ inputs.SECRET_ARN }}' \
:ImageTag='${{ inputs.IMAGE_TAG }}' \
:ProductLifetimeInDays='${{ inputs.PRODUCT_LIFETIME }}' \
:AuthPublicKey='${{ inputs.AUTH_PUBLIC_KEY }}' \
:$DOMAIN_NAME \
:$CERTIFICATE_ARN \
:$ORIGIN_ACCESS_IDENTITY_ID \
:$DISTRIBUTION_URL \
:DefaultCreditsPerUser='${{ inputs.DEFAULT_CREDITS_PER_USER }}' \
:DefaultApplicationStatus='${{ inputs.DEFAULT_APPLICATION_STATUS }}' \
:DefaultMaxvCpus='${{ inputs.DEFAULT_MAX_VCPUS }}' \
:ExpandedMaxvCpus='${{ inputs.EXPANDED_MAX_VCPUS }}' \
:MonthlyBudget='${{ inputs.MONTHLY_BUDGET }}' \
:RequiredSurplus='${{ inputs.REQUIRED_SURPLUS }}' \
:AmiId='${{ inputs.AMI_ID }}' \
:InstanceTypes='${{ inputs.INSTANCE_TYPES }}'

0 comments on commit c74d204

Please sign in to comment.