Closed ersil closed 4 years ago
eg. resource "azurecaf_naming_convention" "caf_subscription_rg" { name = "foo" prefix = "ed-cac-${var.env}" resource_type = "rg" convention = "cafclassic" }
resource "azurecaf_naming_convention" "caf_subscription_rg" { name = "foo" prefix = "ed-cac-${var.env}" resource_type = "rg" convention = "cafclassic" }
gives ed-cac-test-rg-foo-prod where $(var.env) = "test"
ed-cac-test-rg-foo-prod
eg.
resource "azurecaf_naming_convention" "caf_subscription_rg" { name = "foo" prefix = "ed-cac-${var.env}" resource_type = "rg" convention = "cafclassic" }
gives
ed-cac-test-rg-foo-prod
where $(var.env) = "test"