mirror of
https://github.com/dap-ps/infra-dapps.git
synced 2025-02-24 01:48:15 +00:00
can't calculate length of elbs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e4bb7f6208
commit
4907880442
@ -79,8 +79,7 @@ module "eb_environment" {
|
||||
|
||||
/* need to get the full DNS entries for the ELBs */
|
||||
data "aws_elb" "main" {
|
||||
name = "${element(module.eb_environment.elb_load_balancers, count.index)}"
|
||||
count = "${length(module.eb_environment.elb_load_balancers)}"
|
||||
name = "${module.eb_environment.elb_load_balancers[0]}"
|
||||
}
|
||||
|
||||
resource "gandi_zonerecord" "main" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user