Skip to content

Commit

Permalink
feat(update_service): allow to override aws region by parameter (#219)
Browse files Browse the repository at this point in the history
* feat(update_service): allow to override aws region by parameter

* fix: add missing closing parantheses
  • Loading branch information
kevin-kortum-trustedshops authored Sep 24, 2024
1 parent 61ee2d9 commit e24ea09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/update_service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
description: >
Registers a task definition for the given ECS service and updates the service to use it. Optionally polls the status of the deployment until the created task definition revision has reached its desired running task count and is the only revision deployed for the service.
parameters:
region:
description: AWS region to use for looking up task definitions.
type: string
default: $AWS_DEFAULT_REGION
family:
description: Name of the task definition's family.
type: string
Expand Down Expand Up @@ -207,7 +211,7 @@ steps:
--output text \
--query 'taskDefinition.taskDefinitionArn' \
--profile << parameters.profile_name >> \
--region ${AWS_DEFAULT_REGION})
--region << parameters.region >>)
echo "export CCI_ORB_AWS_ECS_REGISTERED_TASK_DFN='${TASK_DEFINITION_ARN}'" >> $BASH_ENV
- when:
condition: << parameters.task_definition_tags >>
Expand Down

0 comments on commit e24ea09

Please sign in to comment.