use env+stage in groups, not separately

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-07-31 13:02:55 -04:00
parent 7f574fe3fc
commit 9277d42e95
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ locals {
host_suffix = "${var.zone}.${var.env}.${var.stage}"
host_full_suffix = "${local.host_suffix}.${var.subdomain}.${var.domain}"
/* got to add some default groups */
groups = distinct(concat([var.zone, var.env, var.stage], var.groups))
groups = distinct(concat([var.zone, "${var.env}.${var.stage}"], var.groups))
}
/* the image needs to be queried */