We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 884cafe commit 3febf78Copy full SHA for 3febf78
main.tf
@@ -1,9 +1,6 @@
1
locals {
2
# Resource Groups
3
- # rg-<project>-<env>-<location>-<number>
4
- resource_group = substr(join("-", compact(["rg", var.project, var.environment, var.location, var.instance_number])), 0, 90)
5
-
6
- # item = ["hub", "operational] -> rg-<project>-<ITEM>=<env>-<location>-<number>
+ resource_group = substr(join("-", compact(["rg", var.project, var.environment, var.location, var.instance_number])), 0, 90)
7
resource_groups = { for item in var.resource_groups : item => substr(join("-", compact(["rg", var.project, item, var.environment, var.location, var.instance_number])), 0, 90) }
8
9
# Virtual Networks
0 commit comments