Skip to content

Commit

Permalink
Merge pull request #2 from wenzel-felix/init_fix
Browse files Browse the repository at this point in the history
removing null_resource
  • Loading branch information
wenzel-felix committed Aug 20, 2022
2 parents 251bc33 + ef4b97a commit e028480
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ locals {
))
}

resource "null_resource" "name" {
for_each = {
for unique in local.assignments_list : "${unique.type}-${unique.scope}-${unique.policy}" => unique
}
provisioner "local-exec" {
command = "echo ${each.key}"
}
}

resource "azurerm_policy_definition" "name" {
for_each = var.policies
name = each.key
Expand Down

0 comments on commit e028480

Please sign in to comment.