-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrg.tf
More file actions
28 lines (24 loc) · 748 Bytes
/
rg.tf
File metadata and controls
28 lines (24 loc) · 748 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
locals {
tags = {
Application_Owner = "${var.ownerinfo}"
Deployment_Type = "${var.deployment_type}"
Notification_Dist_List = "${var.notification_dist_list}"
Environment = "${var.environment}"
}
}
# RESOURCE GROUPS
// Persistent Resources
resource "azurerm_resource_group" "resources-rg-persistent" {
name = "${var.persistent_rg}"
location = "${var.location}"
}
// Metastore Resources
resource "azurerm_resource_group" "resources-rg-hive-metastore" {
name = "${var.hive_metastore_rg}"
location = "${var.location}"
}
// Virtual Machine
resource "azurerm_resource_group" "resources-rg-vm" {
name = "${var.virtual_machine_rg}"
location = "${var.location}"
}