Skip to content

Commit

Permalink
strip quotes from deployment id
Browse files Browse the repository at this point in the history
  • Loading branch information
lokst committed Aug 7, 2020
1 parent a15edc2 commit 60bc704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/orb.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ commands:
--application-name "<< parameters.codedeploy-application-name >>" \
--deployment-group-name "<< parameters.codedeploy-deployment-group-name >>" \
--revision "{\"revisionType\": \"AppSpecContent\", \"appSpecContent\": {\"content\": \"{\\\"version\\\": 1, \\\"Resources\\\": [{\\\"TargetService\\\": {\\\"Type\\\": \\\"AWS::ECS::Service\\\", \\\"Properties\\\": {\\\"TaskDefinition\\\": \\\"${CCI_ORB_AWS_ECS_REGISTERED_TASK_DFN}\\\", \\\"LoadBalancerInfo\\\": {\\\"ContainerName\\\": \\\"<< parameters.codedeploy-load-balanced-container-name >>\\\", \\\"ContainerPort\\\": << parameters.codedeploy-load-balanced-container-port >>}}}}]}\"}}" \
--query deploymentId)
--query deploymentId \
--output text)
echo "Created CodeDeploy deployment: $DEPLOYMENT_ID"
if [ "<< parameters.verify-revision-is-deployed >>" == "true" ]; then
echo "Waiting for deployment to succeed."
Expand Down

0 comments on commit 60bc704

Please sign in to comment.