2 Answers
- Newest
- Most votes
- Most comments
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,
answered 2 years ago
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
answered a year ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
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.