From 9126fcd3d295ec0e5d45f99a87e5424b56041561 Mon Sep 17 00:00:00 2001 From: priyaranjanpatil Date: Mon, 4 Dec 2023 14:14:33 +1100 Subject: [PATCH] testing parameter store --- .github/workflows/github-actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index d01dc4fc..b7172bf1 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -49,10 +49,10 @@ jobs: - name: Get platform env vars from aws ssm parameter store run: | # Loop through all repository variables - VAR_LIST= aws ssm get-parameters-by-path --path "/core/es_indexer/dev_ecr_ecs_config/" + aws ssm get-parameters-by-path --path "/core/es_indexer/dev_ecr_ecs_config/" --output json > parameter_list.json - echo VAR_LIST - for var in $(VAR_LIST | jq -r '.Parameters[]'); do + echo parameter_list.json + for var in $(jq -r '.Parameters[]' parameter_list.json); do name=$(echo $var | jq -r .Name) value=$(echo $var | jq -r .Value) done