https://pulumi.com logo
#aws
Title
# aws
a

adamant-lawyer-19698

03/10/2024, 7:15 PM
hi everyone, how do I get the total expense of a deployed stack in aws?
w

witty-battery-28013

03/11/2024, 8:28 AM
You mean the aws resource cost? For that you should have applied cost allocation tags to everything and can then just use aws cost explorer to filter for the tags specific to the pulumi stack
a

adamant-lawyer-19698

03/11/2024, 9:00 AM
I am wondering if pulumi provides a shortcut for that.
w

witty-battery-28013

03/11/2024, 9:03 AM
Not as far as I am aware
If you are looking for a programmatic way to interact with AWS cost data, https://www.opencost.io/ is an excellent tool that provides an SQL interface to the cost api's