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 2ed37eb commit 9126fcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9126fcd

Please sign in to comment.