If you manage different environments of your system in multiple different AWS accounts, you can now easily assume a
deployment role in the target account in which your ECS cluster is running. You only need to provide --account
with the AWS account id and --assume-role
with the name of the role you want to assume in the target account.
ecs-deploy automatically assumes this role and deploys inside your target account:
Example
$ ecs deploy my-cluster my-service --account 1234567890 --assume-role ecsDeployRole