Skip to content

Commit

Permalink
testing parameter store
Browse files Browse the repository at this point in the history
  • Loading branch information
priyaranjanpatil committed Dec 4, 2023
1 parent db6a393 commit ceed19d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ 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/"
echo "$envvars=VAR_LIST" >> $GITHUB_OUTPUT
for var in "$($envvars | jq -r '.Parameters[]')"; do
$VAR_LIST= aws ssm get-parameters-by-path --path "/core/es_indexer/dev_ecr_ecs_config/"
#echo "$envvars=VAR_LIST" >> $GITHUB_OUTPUT
#echo $VAR_LIST
for var in "$($VAR_LIST | jq -r '.Parameters[]')"; do
name=$(echo $var | jq -r .Name)
value=$(echo $var | jq -r .Value)
done
Expand Down

0 comments on commit ceed19d

Please sign in to comment.