-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathproviders.tf
More file actions
27 lines (24 loc) · 800 Bytes
/
providers.tf
File metadata and controls
27 lines (24 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
provider "azuread" {
tenant_id = var.aad_tenant_id
client_id = var.arm_client_id
client_secret = var.arm_client_secret
}
provider "azapi" {
subscription_id = var.subscription_id
client_id = var.arm_client_id
client_secret = var.arm_client_secret
tenant_id = var.aad_tenant_id
}
provider "azurerm" {
subscription_id = var.subscription_id
client_id = var.arm_client_id
client_secret = var.arm_client_secret
tenant_id = var.aad_tenant_id
resource_provider_registrations = "extended"
storage_use_azuread = true
features {
resource_group {
prevent_deletion_if_contains_resources = false # This is to handle policy driven resource creation.
}
}
}