From b5946c2e9b40c779b149b8b5b7322b784e2f1430 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:33:01 +0200 Subject: [PATCH] tidy --- .github/actions/constellation_create/aws-logs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/constellation_create/aws-logs.sh b/.github/actions/constellation_create/aws-logs.sh index 2cde56d61..c4411f9b7 100755 --- a/.github/actions/constellation_create/aws-logs.sh +++ b/.github/actions/constellation_create/aws-logs.sh @@ -12,13 +12,13 @@ CP_SELECTOR="module.instance_group_control_plane" W_SELECTOR="module.instance_group_worker_nodes" if [[ $(./constellation version) != *"2.8.0"* ]]; then echo "Constellation version is not 2.8.0, using updated ASG selectors" - CP_SELECTOR="module.instance_group[\"control_plane_default\"]" - W_SELECTOR="module.instance_group[\"worker_default\"]" + CP_SELECTOR='module.instance_group["control_plane_default"]' + W_SELECTOR='module.instance_group["worker_default"]' fi pushd constellation-terraform controlAutoscalingGroup=$( - terraform show -json | + terraform show -json | jq --arg selector $CP_SELECTOR \ -r .'values.root_module.child_modules[] | select(.address == $selector) |