aws / copilot-cli

The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
https://aws.github.io/copilot-cli/
Apache License 2.0
3.48k stars 400 forks source link

Cost allocation tags #2509

Open buddhike opened 3 years ago

buddhike commented 3 years ago

It would be useful to automatically enlist copilot-* tags as user defined cost allocation tags. This way we can automatically report on how much is a particular workload is costing.

weiwarren commented 3 years ago

+1 for cost observability / optimisation.

huanjani commented 3 years ago

Thanks for this suggestion! We have been wanting to build some kind of estimator/command to surface costs to users.

buddhike commented 3 years ago

Hey @huanjani, I did a bit of discovery on this. Currently I don't think there's a way to create custom cost allocation tags with CloudFormation (I couldn't find an API either). Do you have an alternative approach in your mind?

huanjani commented 3 years ago

Hi @buddyspike! Sorry for the delayed response. Unfortunately, we haven't had a chance to get beyond the wouldn't-it-be-nice phase. This would be an amazing feature, but would be tricky for sure. We'll try to keep thinking on it, but let us know if you discover anything in the meantime! Thanks so much for your contributions and thoughtfulness!