Skip to content

Commit

Permalink
Create sanitech_access_control.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH committed Apr 19, 2024
1 parent 01a2d8d commit 3aa7327
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions func/sanitech_access_control.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
resource "azurerm_role_assignment" "example" {
scope = data.azurerm_subscription.primary.id
role_definition_id = data.azurerm_role_definition.example.id
principal_id = data.azurerm_client_config.current.object_id
}

data "azurerm_role_definition" "example" {
name = "Contributor"
}

data "azurerm_subscription" "primary" {}

data "azurerm_client_config" "current" {}

0 comments on commit 3aa7327

Please sign in to comment.