Skip to content

Instantly share code, notes, and snippets.

@fzipi360
fzipi360 / README.md
Last active December 15, 2021 13:42 — forked from nitrocode/README.md
Cloud custodian iam policy and role generated from code and outputted to terraform

CloudCustodian IAM Policy

Extracts perms from cloud-custodian repo, sanitizes extracted data, and transforms into terraform.

How it works

The code will

  1. search for permissions = (get this data) over multiline
  2. print only the captured group