-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
50 lines (39 loc) · 767 Bytes
/
main.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
# terraform block
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "3.69.0"
}
# }
# }
random = {
source = "hashicorp/random"
version = "3.5.1"
}
}
# backend "azurerm" {
# resource_group_name = "CloudOps-merarg"
# storage_account_name = "storagea98038"
# container_name = "terrafrom-state-files-container"
# key = "prod.terraform.tfstate"
# }
}
# provider block
provider "azurerm" {
# Configuration options
features {
}
}
# provider blccok2
provider "azurerm" {
alias = "provider2-westUS"
features {
virtual_machine {
delete_os_disk_on_deletion = "false"
}
}
}
provider "random" {
# config
}