Tooling for AWS CUR analysis.
Create the Lambda, Dynamo, and SQS infrastructure:
Edit any relevant values in cfn/parameters/lambda.json
, then:
PARAMS=lambda TEMPLATE=lambda make create-stack
A CUR report is added by adding an item to the prod DynamoDB table. DATA
refers to a filename (without extension) in the data/
directory.
DATA=example make put-ddb
A TAM group role is needed so that TAMs can assume a role and access the Athena tables
PARAMS=tam-<location>-<team> TEMPLATE=tam-trust SUFFIX=<location>-<team> make create-stack