Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Adjust value pass to VM's terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
martinezpl authored Jul 19, 2022
1 parent 0220dcf commit fee347f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
aws ssm get-parameter --name /sdk/latest_versions > ssm.json
NEW_VALUE=$(cat ssm.json | python3 -c 'import json,sys,os;obj=json.loads(sys.stdin.read());obj=json.loads(obj["Parameter"]["Value"]);obj["python"]=os.environ["TRIGGER_TAG"][1:];print(json.dumps(obj))')
echo $NEW_VALUE
aws ssm put-parameter --name /sdk/latest_versions --type "String" --value $NEW_VALUE --overwrite
aws ssm put-parameter --name /sdk/latest_versions --type "String" --value "'$NEW_VALUE'" --overwrite
- <<: *slack_basic_fail
- <<: *slack_success_deploy

Expand Down

0 comments on commit fee347f

Please sign in to comment.