2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Cluster costs 0$ and so do Task Definitions, so it is expected you won't see any costs for these.
As for your tasks (i.e the Fargate containers), you need to make sure that the tags propagation to the tasks is set to either the service tags or the task definition tags. See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-propagatetags
Hope this helps,
répondu il y a 2 ans
1
If you're using Terraform, the above argument may be found here https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#propagate_tags
répondu il y a un an
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a un mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
I believe you may also have to wait until the next month for the costs to show up. I added the tag propagation to my Terraform a few days ago, and validated that I can see the tags on the individual tasks, but still nothing in Cost Explorer.
I think it may be because Cost Explorer only shows previous months, and anything during the current month is considered an estimated cost.