From 167dec61aa013e7eb24a16b0839e808f41acdd0e Mon Sep 17 00:00:00 2001 From: Mohamed Habib Date: Thu, 21 Nov 2024 11:05:38 +0000 Subject: [PATCH] Create plan.rego --- plan.rego | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plan.rego diff --git a/plan.rego b/plan.rego new file mode 100644 index 0000000..e814e7b --- /dev/null +++ b/plan.rego @@ -0,0 +1,7 @@ +package digger + +deny[sprintf(message, [resource.address])] { + message := "everything is allowed" + resource := input.terraform.resource_changes[_] + true +}