2 個答案
- 最新
- 最多得票
- 最多評論
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,
已回答 2 年前
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
已回答 1 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
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.