From 7edf2cbf59357380835d8245dda79ed9679190db Mon Sep 17 00:00:00 2001 From: Fabien Delpierre Date: Mon, 27 May 2019 11:48:10 -0400 Subject: [PATCH] Fixed computed example in README (#122) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fab495c3..8361ef9e 100644 --- a/README.md +++ b/README.md @@ -112,15 +112,15 @@ module "db_computed_sg" { ingress_cidr_blocks = ["10.10.0.0/16", "${data.aws_security_group.default.id}"] - computed_ingress_cidr_blocks = ["${module.vpc.vpc_id}"] + computed_ingress_cidr_blocks = ["${module.vpc.vpc_cidr_block}"] number_of_computed_ingress_cidr_blocks = 1 } module "db_computed_merged_sg" { # omitted for brevity - computed_ingress_cidr_blocks = ["10.10.0.0/16", "${data.aws_security_group.default.id}", "${module.vpc.vpc_id}"] - number_of_computed_ingress_cidr_blocks = 3 + computed_ingress_cidr_blocks = ["10.10.0.0/16", "${module.vpc.vpc_cidr_block}"] + number_of_computed_ingress_cidr_blocks = 2 } ```