-
Notifications
You must be signed in to change notification settings - Fork 0
/
provider.tf
60 lines (54 loc) · 1.13 KB
/
provider.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~>3.47.0"
}
azuread = {
source = "hashicorp/azuread"
version = "~>2.36.0"
}
random = {
source = "hashicorp/random"
version = "~>3.4.3"
}
tls = {
source = "hashicorp/tls"
version = "~>4.0.4"
}
time = {
source = "hashicorp/time"
version = "~>0.9.1"
}
}
backend "azurerm" {
resource_group_name = "example-tf-state"
storage_account_name = "examplertfstatebucket"
container_name = "exampletfstate"
key = "example.terraform.tfstate"
}
}
provider "tls" {
}
provider "azurerm" {
features {
resource_group {
prevent_deletion_if_contains_resources = false
}
key_vault {
purge_soft_delete_on_destroy = false
recover_soft_deleted_key_vaults = true
}
virtual_machine {
delete_os_disk_on_deletion = true
graceful_shutdown = false
skip_shutdown_and_force_delete = false
}
}
}
provider "azuread" {
}
provider "random" {
}
provider "time" {
}