Skip to content

Commit

Permalink
temp debug vars
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Dec 19, 2023
1 parent 89a61b9 commit a2d7588
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ jobs:
env:
vars_json: ${{ toJSON(vars) }}
run: |
tf_vars=$(echo $vars_json
| jq -r '
. | with_entries( .key |= ascii_downcase | select(.key | startswith("tf_var")))
| to_entries
| map("TF_VAR_\(.key| split("tf_var_")[-1])=\(.value)") |.[]'
)
tf_vars=$(echo $vars_json | jq -r '
. | with_entries( .key |= ascii_downcase | select(.key | startswith("tf_var")))
| to_entries
| map("TF_VAR_\(.key| split("tf_var_")[-1])=\(.value)") |.[]')
for var in "${tf_vars[@]}"; do
echo "$var"
Expand Down

0 comments on commit a2d7588

Please sign in to comment.