@@ -27,7 +27,7 @@ module "couchbase" {
2727 # TODO: replace <VERSION> with the latest version from the releases page: https://github.com/gruntwork-io/terraform-aws-couchbase/releases
2828 source = "github.com/gruntwork/terraform-aws-couchbase//modules/couchbase-cluster?ref=<VERSION>"
2929
30- cluster_name = "${ var.cluster_name}"
30+ cluster_name = var.cluster_name
3131
3232 health_check_type = "ELB"
3333
@@ -38,7 +38,7 @@ module "load_balancer" {
3838 # TODO: replace <VERSION> with the latest version from the releases page: https://github.com/gruntwork-io/terraform-aws-couchbase/releases
3939 source = "github.com/gruntwork/terraform-aws-couchbase//modules/load-balancer?ref=<VERSION>"
4040
41- name = "${ var.cluster_name}"
41+ name = var.cluster_name
4242
4343 http_listener_ports = [8091, 4984]
4444
@@ -63,11 +63,11 @@ module "couchbase_target_group" {
6363 source = "github.com/gruntwork/terraform-aws-couchbase//modules/load-balancer-target-group?ref=<VERSION>"
6464
6565 target_group_name = "${var.cluster_name}-cb"
66- asg_name = "${ module.couchbase.asg_name}"
66+ asg_name = module.couchbase.asg_name
6767 port = 8091
6868 health_check_path = "/ui/index.html"
6969
70- listener_arns = ["${lookup( module.load_balancer.http_listener_arns, 8091)}" ]
70+ listener_arns = [module.load_balancer.http_listener_arns[ 8091] ]
7171 num_listener_arns = 1
7272 listener_rule_starting_priority = 100
7373
@@ -83,11 +83,11 @@ module "sync_gateway_target_group" {
8383 source = "github.com/gruntwork/terraform-aws-couchbase//modules/load-balancer-target-group?ref=<VERSION>"
8484
8585 target_group_name = "${var.cluster_name}-sg"
86- asg_name = "${ module.couchbase.asg_name}"
86+ asg_name = module.couchbase.asg_name
8787 port = 4985
8888 health_check_path = "/"
8989
90- listener_arns = ["${lookup( module.load_balancer.http_listener_arns, 4984)}" ]
90+ listener_arns = [module.load_balancer.http_listener_arns[ 4984] ]
9191 num_listener_arns = 1
9292 listener_rule_starting_priority = 100
9393
0 commit comments