I have multiple Fargate clusters in a single AWS account. I wish to ensure that a given service account (used by the build pipeline) can only update Services within a given Fargate clusters.
The IAM policy editor prompt for the ecs:UpdateService
action's resource is arn:aws:ecs::<aws_account_id>:service/
which doesn't make sense given that different clusters can have Services that share a name. aws ecs describe-tasks
shows both a "clusterArn" and "serviceArn" for each task. aws ecs list-services
and aws ecs describe-services
only apply to Services for a given cluster.