Skip to content

Commit

Permalink
Update examples in READMEs with lists (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Jul 5, 2017
1 parent 543d75e commit cf57da8
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module "sg_web" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_web"
security_group_name = "${var.security_group_name}-web"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_carbon-relay-ng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module "sg_carbon-relay-ng" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_carbon-relay-ng"
security_group_name = "${var.security_group_name}-carbon-relay-ng"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_cassandra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "sg_cassandra" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_cassandra"
security_group_name = "${var.security_group_name}-cassandra"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_consul/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module "sg_consul" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_consul"
security_group_name = "${var.security_group_name}-consul"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module "sg_elasticsearch" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_elasticsearch"
security_group_name = "${var.security_group_name}-elasticsearch"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_https_only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "sg_web" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_https_only"
security_group_name = "${var.security_group_name}-https"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "sg_kafka" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_kafka"
security_group_name = "${var.security_group_name}-kafka"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_ldap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module "sg_ldap" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_ldap"
security_group_name = "${var.security_group_name}-ldap"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_ldaps_only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "sg_ldaps" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_ldaps_only"
security_group_name = "${var.security_group_name}-ldaps"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_memcached/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module "sg_web" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_memcached"
security_group_name = "${var.security_group_name}-memcached"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module "sg_mysql" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_mysql"
security_group_name = "${var.security_group_name}-mysql"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
8 changes: 1 addition & 7 deletions sg_nomad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,13 @@ You can use these in your terraform template with the following steps.
module "sg_nomad" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_nomad"
security_group_name = "${var.security_group_name}-nomad"
aws_access_key = "${var.aws_access_key}"
aws_secret_key = "${var.aws_secret_key}"
aws_region = "${var.aws_region}"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

2. Setting values for the following variables, either through `terraform.tfvars` or `-var` arguments on the CLI

- aws_access_key
- aws_secret_key
- aws_region
- security_group_name
- vpc_id
- source_cidr_block
2 changes: 1 addition & 1 deletion sg_redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module "sg_redis" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_redis"
security_group_name = "${var.security_group_name}-redis"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_ssh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module "sg_ssh" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_ssh"
security_group_name = "${var.security_group_name}-ssh"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_storm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "sg_storm" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_storm"
security_group_name = "${var.security_group_name}-storm"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "sg_web" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_web"
security_group_name = "${var.security_group_name}-web"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_zipkin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module "sg_zipkin" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_zipkin"
security_group_name = "${var.security_group_name}-zipkin"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion sg_zookeeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module "sg_zookeeper" {
source = "github.com/terraform-community-modules/tf_aws_sg//sg_zookeeper"
security_group_name = "${var.security_group_name}-zookeeper"
vpc_id = "${var.vpc_id}"
source_cidr_block = "${var.source_cidr_block}"
source_cidr_block = ["${var.source_cidr_block}"]
}
```

Expand Down

0 comments on commit cf57da8

Please sign in to comment.