-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathprovider.tf
More file actions
48 lines (39 loc) · 1003 Bytes
/
provider.tf
File metadata and controls
48 lines (39 loc) · 1003 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
43
44
45
46
47
48
# provider.tf
# This file configures the Azure provider to interact with Azure resources.
# It specifies the required provider and its version, along with provider-specific configurations.
terraform {
required_version = ">= 1.8, < 2.0"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.116"
}
azapi = {
source = "Azure/azapi"
version = "~> 1.13"
}
random = {
source = "hashicorp/random"
version = "~> 3.6"
}
azuread = {
source = "hashicorp/azuread"
version = "~> 3.0"
}
}
}
provider "azurerm" {
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
}
# Uses the current Azure CLI context (az login + az account set)
skip_provider_registration = false
}
provider "azapi" {
# Uses the current Azure CLI context (az login + az account set)
}
provider "azuread" {
# Uses the current Azure CLI context (az login + az account set)
}