Skip to content

Commit

Permalink
Create sanitech_compliance.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Apr 19, 2024
1 parent 3aa7327 commit 44fce41
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions func/sanitech_compliance.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "azurerm_policy_assignment" "example" {
name = "example-policy-assignment"
scope = data.azurerm_subscription.primary.id
policy_definition_id = data.azurerm_policy_definition.example.id
}

data "azurerm_policy_definition" "example" {
name = "audit-vm-extensions-policy"
}

data "azurerm_subscription" "primary" {}

0 comments on commit 44fce41

Please sign in to comment.