-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathversions.tf
40 lines (38 loc) · 868 Bytes
/
versions.tf
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
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.108.0, <= 3.116"
}
random = {
source = "hashicorp/random"
version = "~> 3.3.0"
}
local = {
source = "hashicorp/local"
version = "~> 2.5.0"
}
null = {
source = "hashicorp/null"
version = "~> 3.1.0"
}
tls = {
source = "hashicorp/tls"
version = "~> 3.4.0"
}
}
required_version = ">= 0.13.7, < 2.0.0"
}
provider "azurerm" {
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
}
provider "azurerm" {
alias = "managed_identity_sub"
subscription_id = var.managed_identity_subscription_id == null ? var.env_subscription_id : var.managed_identity_subscription_id
features {}
skip_provider_registration = true
}