Skip to content

Commit dd6b9b9

Browse files
committed
repeat --parameters option
1 parent 002b008 commit dd6b9b9

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/actions/deploy-hyp3/action.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,21 @@ runs:
110110
cdk diff
111111
cdk deploy \
112112
--require-approval=never \
113-
--parameters \
114-
${{ inputs.STACK_NAME }}:VpcId='${{ inputs.VPC_ID }}' \
115-
${{ inputs.STACK_NAME }}:SubnetIds='${{ inputs.SUBNET_IDS }}' \
116-
${{ inputs.STACK_NAME }}:SecretArn='${{ inputs.SECRET_ARN }}' \
117-
${{ inputs.STACK_NAME }}:ImageTag='${{ inputs.IMAGE_TAG }}' \
118-
${{ inputs.STACK_NAME }}:ProductLifetimeInDays='${{ inputs.PRODUCT_LIFETIME }}' \
119-
${{ inputs.STACK_NAME }}:AuthPublicKey='${{ inputs.AUTH_PUBLIC_KEY }}' \
120-
${{ inputs.STACK_NAME }}:$DOMAIN_NAME \
121-
${{ inputs.STACK_NAME }}:$CERTIFICATE_ARN \
122-
${{ inputs.STACK_NAME }}:$ORIGIN_ACCESS_IDENTITY_ID \
123-
${{ inputs.STACK_NAME }}:$DISTRIBUTION_URL \
124-
${{ inputs.STACK_NAME }}:DefaultCreditsPerUser='${{ inputs.DEFAULT_CREDITS_PER_USER }}' \
125-
${{ inputs.STACK_NAME }}:DefaultApplicationStatus='${{ inputs.DEFAULT_APPLICATION_STATUS }}' \
126-
${{ inputs.STACK_NAME }}:DefaultMaxvCpus='${{ inputs.DEFAULT_MAX_VCPUS }}' \
127-
${{ inputs.STACK_NAME }}:ExpandedMaxvCpus='${{ inputs.EXPANDED_MAX_VCPUS }}' \
128-
${{ inputs.STACK_NAME }}:MonthlyBudget='${{ inputs.MONTHLY_BUDGET }}' \
129-
${{ inputs.STACK_NAME }}:RequiredSurplus='${{ inputs.REQUIRED_SURPLUS }}' \
130-
${{ inputs.STACK_NAME }}:AmiId='${{ inputs.AMI_ID }}' \
131-
${{ inputs.STACK_NAME }}:InstanceTypes='${{ inputs.INSTANCE_TYPES }}'
113+
--parameters VpcId='${{ inputs.VPC_ID }}' \
114+
--parameters SubnetIds='${{ inputs.SUBNET_IDS }}' \
115+
--parameters SecretArn='${{ inputs.SECRET_ARN }}' \
116+
--parameters ImageTag='${{ inputs.IMAGE_TAG }}' \
117+
--parameters ProductLifetimeInDays='${{ inputs.PRODUCT_LIFETIME }}' \
118+
--parameters AuthPublicKey='${{ inputs.AUTH_PUBLIC_KEY }}' \
119+
--parameters $DOMAIN_NAME \
120+
--parameters $CERTIFICATE_ARN \
121+
--parameters $ORIGIN_ACCESS_IDENTITY_ID \
122+
--parameters $DISTRIBUTION_URL \
123+
--parameters DefaultCreditsPerUser='${{ inputs.DEFAULT_CREDITS_PER_USER }}' \
124+
--parameters DefaultApplicationStatus='${{ inputs.DEFAULT_APPLICATION_STATUS }}' \
125+
--parameters DefaultMaxvCpus='${{ inputs.DEFAULT_MAX_VCPUS }}' \
126+
--parameters ExpandedMaxvCpus='${{ inputs.EXPANDED_MAX_VCPUS }}' \
127+
--parameters MonthlyBudget='${{ inputs.MONTHLY_BUDGET }}' \
128+
--parameters RequiredSurplus='${{ inputs.REQUIRED_SURPLUS }}' \
129+
--parameters AmiId='${{ inputs.AMI_ID }}' \
130+
--parameters InstanceTypes='${{ inputs.INSTANCE_TYPES }}'

0 commit comments

Comments
 (0)