/curate

Primary LanguageGo

Curate

Tooling for AWS CUR analysis.

Setup

Lambda and SQS

Create the Lambda, Dynamo, and SQS infrastructure:

Edit any relevant values in cfn/parameters/lambda.json, then:

PARAMS=lambda TEMPLATE=lambda make create-stack

Add a CUR Report to the system

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

Add TAM group to the system

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