Medium post
Explore your AWS costs in any conversational interface easily. Made with the CSML programming language.
- Log in to https://studio.csml.dev
- Copy and paste this URL into the "import bot" dialog (or upload a zip of this repository)
- In the
functions
panel, selectcost_explorer
and add your AWSACCESS_KEY_ID
andSECRET_ACCESS_KEY
in the environment variables
In order to use this chatbot, you will need a IAM user with sufficient rights to read the cost explorer reports. This would be the minimum rights required for such a user:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ce:GetCostAndUsage",
"ce:GetCostForecast"
],
"Resource": "*"
}
]
}