-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproviders.tf
More file actions
42 lines (32 loc) · 776 Bytes
/
providers.tf
File metadata and controls
42 lines (32 loc) · 776 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
terraform {
required_version = ">= 1.14.3"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 4.74.0"
}
azuread = {
source = "hashicorp/azuread"
version = "~> 3.0"
}
}
backend "azurerm" {}
}
provider "azurerm" {
subscription_id = var.subscription_id
features {
resource_group {
# Resource group is only used by workload, App Insights creates artifacts that need to be deleted
prevent_deletion_if_contains_resources = false
}
}
storage_use_azuread = true
}
provider "azuread" {
}
provider "azurerm" {
alias = "dns"
subscription_id = var.dns_subscription_id
features {}
storage_use_azuread = true
}