Skip to content

Commit 17ffbf9

Browse files
committed
Improving README.md
1 parent 2af57f2 commit 17ffbf9

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

README.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Check valid versions on:
1313
module "ecs-fargate":
1414
source = "jnonino/ecs-fargate/aws"
1515
version = "1.0.0"
16-
name_preffix = "${var.name_preffix}"
17-
profile = "${var.profile}"
18-
region = "${var.region}"
19-
vpc_id = "${module.networking.vpc_id}"
20-
availability_zones = [ "${var.availability_zones}" ]
21-
public_subnets_ids = [ "${module.networking.public_subnets_ids}" ]
22-
private_subnets_ids = [ "${module.networking.private_subnets_ids}" ]
16+
name_preffix = var.name_preffix
17+
profile = var.profile
18+
region = var.region
19+
vpc_id = module.networking.vpc_id
20+
availability_zones = var.availability_zones
21+
public_subnets_ids = module.networking.public_subnets_ids
22+
private_subnets_ids = module.networking.private_subnets_ids
2323
container_name = "${var.name_preffix}-sonar"
2424
container_image = "<IMAGE_NAME>:<IMAGE_TAG>"
2525
container_cpu = 1024
@@ -35,6 +35,24 @@ Check valid versions on:
3535
]
3636
}
3737

38+
The networking module should look like this:
39+
40+
module "networking" {
41+
source = "jnonino/networking/aws"
42+
version = "2.0.2"
43+
name_preffix = "base"
44+
profile = "aws_profile"
45+
region = "us-east-1"
46+
vpc_cidr_block = "192.168.0.0/16"
47+
availability_zones = [ "us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d" ]
48+
public_subnets_cidrs_per_availability_zone = [ "192.168.0.0/19", "192.168.32.0/19", "192.168.64.0/19", "192.168.96.0/19" ]
49+
private_subnets_cidrs_per_availability_zone = [ "192.168.128.0/19", "192.168.160.0/19", "192.168.192.0/19", "192.168.224.0/19" ]
50+
}
51+
52+
Check versions for this module on:
53+
* Github Releases: <https://github.com/jnonino/terraform-aws-networking/releases>
54+
* Terraform Module Registry: <https://registry.terraform.io/modules/jnonino/networking/aws>
55+
3856
## Output values
3957

4058
* lb_id: Load Balancer ID.

0 commit comments

Comments
 (0)