From dd2612fd5ad8683ef89d568bda7ff48a735dcf2a Mon Sep 17 00:00:00 2001 From: worm Date: Thu, 10 Aug 2023 16:57:17 -0700 Subject: [PATCH] Add readme again --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4110d81 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +This is a proof of concept for managing ASG 'tag' property with Sentinel, which for some reason is completely different than every other reasource. + +It doesn't handle multiple required keys, but neither did the original: +https://github.com/hashicorp/terraform-sentinel-policies/blob/main/aws/check-ec2-environment-tag.sentinel + +Mandatory tags should probably be a map that contains a list of acceptable values. rather than a list for the sake of associating things + e.g., mandatory_tags = { "Environments: [prod, dev, qa]"}