Skip to content

Commit 8cedd94

Browse files
authored
fix: Atmos Pro Flags (#118)
* Fix atmos_pro_flags syntax issue in action.yml * Update input and flag names in action.yml file
1 parent 14f327f commit 8cedd94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
description: The base URL of Atmos Pro
2424
required: false
2525
default: "https://atmos-pro.com"
26-
atmos-pro-upload-deployment-status:
26+
atmos-pro-upload-status:
2727
description: "If set atmos will upload the plan result to the pro API"
2828
required: false
2929
default: 'false'
@@ -335,8 +335,8 @@ runs:
335335
336336
atmos_pro_flags=""
337337
338-
if [[ "${{ inputs.atmos-pro-upload-deployment-status }}" == "true" ]]; then
339-
atmos_pro_flags+=" --upload-deployment-status=true"
338+
if [[ "${{ inputs.atmos-pro-upload-status }}" == "true" ]]; then
339+
atmos_pro_flags+="--upload-status"
340340
fi
341341
342342
tfcmt \
@@ -360,11 +360,11 @@ runs:
360360
-- \
361361
atmos terraform plan ${{ inputs.component }} \
362362
--stack ${{ inputs.stack }} \
363+
${atmos_pro_flags} \
363364
-out="${{ steps.vars.outputs.plan_file }}" \
364365
-lock=false \
365366
-input=false \
366367
-no-color \
367-
${atmos_pro_flags} \
368368
&> ${TERRAFORM_OUTPUT_FILE}
369369
370370
TERRAFORM_RESULT=$?

0 commit comments

Comments
 (0)