2024-05-23 13:26:58 +06:00
|
|
|
locals {
|
|
|
|
common_description = "managed by terraform"
|
|
|
|
freeform_tags = {
|
|
|
|
ManagedBy = "iac/terraform"
|
|
|
|
"iac/source" = var.iac_project_source
|
|
|
|
"iac/component" = var.iac_project_name
|
|
|
|
}
|
2024-05-24 16:17:53 +06:00
|
|
|
# vcn dns label must be only alphanumeric and max 15 chars
|
|
|
|
vcn_dns_label = substr(replace(join("", [var.prefix, "vcn"]), "/(?i)[^0-9a-z]/", ""), 0, 15)
|
2024-05-23 13:26:58 +06:00
|
|
|
}
|