-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider.tf
55 lines (48 loc) · 1.16 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
terraform {
required_providers {
azurerm = {
version = "2.89.0"
}
azuread = {
version = "2.12.0"
}
random = {
version = "3.1.0"
}
}
/*
backend "azurerm" {
environment = "public"
resource_group_name = "terraform"
storage_account_name = "tfsenacor"
container_name = "terraform-state"
key = "senacor-cloud-containers/terraform.tfstate"
use_azuread_auth = true
# Sourced from environment
# tenant_id = ARM_TENANT_ID
# subscription_id = ARM_SUBSCRIPTION_ID
# client_id = ARM_CLIENT_ID
# client_secret = ARM_CLIENT_SECRET
}
*/
}
provider "azuread" {
tenant_id = var.azurerm_tenant_id
environment = "global"
# Sourced from environment
# client_id = ARM_CLIENT_ID
# client_secret = ARM_CLIENT_SECRET
}
provider "azurerm" {
tenant_id = var.azurerm_tenant_id
subscription_id = var.azurerm_subscription_id
environment = "public"
# Sourced from environment
# client_id = ARM_CLIENT_ID
# client_secret = ARM_CLIENT_SECRET
features {
virtual_machine {
graceful_shutdown = true
}
}
}