An orb that simplifies deployment to Amazon's Elastic Container Service (ECS). Supports both EC2 and Fargate launch types.
Full Changelog: https://github.com/CircleCI-Public/aws-ecs-orb/compare/v3.2.0...v4.0.0
The deploy-service-update
, run-task
, update-task-definition-from-json
and update-task-definition
jobs now support authorization using OpenID Connect. To generate temporary AWS
keys, a valid role-arn
and context
must be provided
aws-region
: AWS region to operate in.profile-name
: AWS profile name to be configured.role-arn
: The Amazon Resource Name (ARN) of the role that the caller is assuming. Role ARN must be configured for web identity.
-role-session-name
: An identifier for the assumed role session.session-duration
: The duration of the session in secondsThe update-service
and update-task-definition
commands now support updating container secrets and Docker labels in ecs
task definitions
container-secret-updates
: Use this to update or set the values of secret variables that will be defined for the containers.container-docker-label-updates
: Use this to update or set the values of docker label variables that will be defined for the containers.Full Changelog: https://github.com/CircleCI-Public/aws-ecs-orb/compare/v3.1.0...v3.2.0
deployment-config-name
: Enables users to add a predefined deployment configuration when creating a Blue/Green Deployment in CodeDeploycodedeploy-capacity-provider-name
: The name of AWS Capacity Provider to be added to CodeDeploy deployment. Must be used with capacity-provider-base and capacity-provider-weight.codedeploy-capacity-provider-base
: The base of AWS Capacity Provider to be added to CodeDeploy deployment. Must be used with codedeploy-capacity-provider-name and codedeploy-capacity-provider-weight.codedeploy-capacity-provider-weight
: The weight of AWS Capacity Provider to be added to CodeDeploy deployment. Weight must be greater than 0. Must be used with codedeploy-capacity-provider-name and codedeploy-capacity-provider-base.Full Changelog: https://github.com/CircleCI-Public/aws-ecs-orb/compare/v3.0.0...v3.1.0
deploy-ecs-scheduled-task
- Deploy an ECS Scheduled Task Rule after updating a task definition.
rule-name
: The name of the scheduled task's rule to update.Full Changelog: https://github.com/CircleCI-Public/aws-ecs-orb/compare/v2.3.0...v3.0.0
install-ecs-cli
- This command installs the aws ecs cli
on Linux
and MacOS
based images.
profile-name
: Use a defined aws
profile with ever aws ecs
commandrun-task-output
: Specify a local json file to save the output logs from the aws ecs run-task
command.enable-circuit-breaker
: Determines whether a service deployment will fail if the service can't reach a steady state.previous-revision-number
: Retrieve a previous task based on definition numberrun-time-platform
: Extracts runtimePlatform
as a parameter from a previous task definition and enables it's usage when registering a new task definition.profile-name
Parameter by @brivu in https://github.com/CircleCI-Public/aws-ecs-orb/pull/153
Full Changelog: https://github.com/CircleCI-Public/aws-ecs-orb/compare/minor-release-v1.4.0...v2.3.0