Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit 4129dba

Browse files
committed
Update syntax in READMEs
1 parent 30031d3 commit 4129dba

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

modules/couchbase-iam-policies/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module "couchbase_iam_policies" {
2929
# TODO: replace <VERSION> with the latest version from the releases page: https://github.com/gruntwork-io/terraform-aws-couchbase/releases
3030
source = "github.com/gruntwork-io/terraform-aws-couchbase//modules/couchbase-iam-policies?ref=<VERSION>"
3131
32-
iam_role_id = "${module.couchbase.iam_role_id}"
32+
iam_role_id = module.couchbase.iam_role_id
3333
}
3434
```
3535

modules/couchbase-server-security-group-rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module "security_group_rules" {
3030
# TODO: replace <VERSION> with the latest version from the releases page: https://github.com/gruntwork-io/terraform-aws-couchbase/releases
3131
source = "github.com/gruntwork-io/terraform-aws-couchbase//modules/couchbase-server-security-group-rules?ref=<VERSION>"
3232
33-
security_group_id = "${module.couchbase_cluster.security_group_id}"
33+
security_group_id = module.couchbase_cluster.security_group_id
3434
3535
rest_port = 8091
3636
rest_port_cidr_blocks = ["0.0.0.0/0"]

modules/load-balancer-target-group/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

modules/load-balancer/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ module "load_balancer" {
4444
}
4545
]
4646
47-
allow_
4847
inbound_from_cidr_blocks = ["0.0.0.0/0"]
4948
5049
# ... See variables.tf for the other parameters you must define for this module

modules/sync-gateway-security-group-rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module "security_group_rules" {
2828
# TODO: replace <VERSION> with the latest version from the releases page: https://github.com/gruntwork-io/terraform-aws-couchbase/releases
2929
source = "github.com/gruntwork-io/terraform-aws-couchbase//modules/sync-gateway-security-group-rules?ref=<VERSION>"
3030
31-
security_group_id = "${module.sync_gateway.security_group_id}"
31+
security_group_id = module.sync_gateway.security_group_id
3232
3333
interface_port = 4984
3434
interface_port_cidr_blocks = ["0.0.0.0/0"]

0 commit comments

Comments
 (0)