Skip to content

Commit

Permalink
Update tags.rego
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysss authored Feb 1, 2024
1 parent f2cf8b9 commit d9a3fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tf-revizor-fixtures/policies/tags/tags.rego
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ res := tfplan.resource_changes
allowed_resources := [r | r = res[_]; allowed_platforms[_] == get_basename(r.provider_name)]
resources := [r | r = allowed_resources[_]; not "delete" == r.change.actions[0]]


#Check tags has owner key
deny[msg] {
r := resources[_]
Expand Down

0 comments on commit d9a3fc9

Please sign in to comment.