Skip to content

Commit

Permalink
Fix deploy infrastructure options
Browse files Browse the repository at this point in the history
* The options need to be converted to a string before being passed into
  `run-terraform-command -c`, otherwise they are set as individual
  parameters
* This has already been fixed on the `deploy account-bootstrap` command
  • Loading branch information
Stretch96 committed Jan 12, 2024
1 parent 23a3e73 commit 64b099d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/deploy/infrastructure
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ do
]]
then
"$APP_ROOT/bin/dalmatian" terraform-dependencies run-terraform-command -c "workspace select $workspace" -i -q
"$APP_ROOT/bin/dalmatian" terraform-dependencies run-terraform-command -c "${OPTIONS[@]}" -i -q
STRING_OPTIONS="${OPTIONS[*]}"
"$APP_ROOT/bin/dalmatian" terraform-dependencies run-terraform-command -c "$STRING_OPTIONS" -i -q
fi
done 9< <("$APP_ROOT/bin/dalmatian" terraform-dependencies run-terraform-command -c "workspace list" -i -q)

0 comments on commit 64b099d

Please sign in to comment.