-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathd-naming.tf
26 lines (21 loc) · 907 Bytes
/
d-naming.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
data "azurecaf_name" "private_endpoint" {
resource_type = "azurerm_private_endpoint"
name = var.stack
use_slug = true
prefixes = var.name_prefix == "" ? null : [local.name_prefix]
suffixes = compact([var.client_name, var.location_short, var.environment, local.name_suffix])
}
data "azurecaf_name" "private_dns_zone_group" {
resource_type = "azurerm_private_dns_zone_group"
name = var.stack
use_slug = true
prefixes = var.name_prefix == "" ? null : [local.name_prefix]
suffixes = compact([var.client_name, var.location_short, var.environment, local.name_suffix])
}
data "azurecaf_name" "private_service_connection" {
resource_type = "azurerm_private_service_connection"
name = var.stack
use_slug = true
prefixes = var.name_prefix == "" ? null : [local.name_prefix]
suffixes = compact([var.client_name, var.location_short, var.environment, local.name_suffix])
}