[POC] Create a new "Obligatron" project #949
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this change?
Create a new "Obligatron" project, a step function consisting of 3 lambdas.
teamId
s fromgalaxies_teams
and outputs it to the next step.In theory this will let us create new obligation lambdas with ease and not have to worry about orchestrating them or saving data to the DB.
Why?
As part of Ops KR1 we've been trying to source tagging data from all AWS resources so that we can measure the departments adherance to the tagging obligation.
What I've been struggling with is how to transform the data we get into something useable. Right now we've got an ever expanding SQL query thats partially stored in code, and partially stored in Grafana. It feels quite unmaintainable and difficult to expand on.
What we want to do next with KR1 is start excluding certain resources from our queries, meaning its going to get ever more complicated. Now we could create even more views, and more functions in Postgres to help us with this but theres a few problems on this front:
End goal
A possible end goal of this work might be to end up with a table like this in Grafana that is populated from the data this Step Function generates