From f0bd5095003a7e90ce28e5ab50773eac383df396 Mon Sep 17 00:00:00 2001 From: tdigangi <38962493+tdigangi@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:06:16 -0500 Subject: [PATCH] chore: updated rules in readme example to resolve issue #252 (#253) --- modules/firewall-rules/README.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/modules/firewall-rules/README.md b/modules/firewall-rules/README.md index 6eec3554..e12ea6da 100644 --- a/modules/firewall-rules/README.md +++ b/modules/firewall-rules/README.md @@ -13,23 +13,19 @@ module "firewall_rules" { network_name = module.vpc.network_name rules = [{ - name = "allow-ssh-ingress" - priority = null - description = null - direction = "INGRESS" - ranges = ["0.0.0.0/0"] - source = { - tags = null - service_accounts = null - } - target = { - tags = null - service_accounts = null - } + name = "allow-ssh-ingress" + description = null + direction = "INGRESS" + priority = null + ranges = ["0.0.0.0/0"] + source_tags = null + source_service_accounts = null + target_tags = null + target_service_accounts = null allow = [{ protocol = "tcp" - ports = ["22"] - }] + ports = ["22"] + }] deny = [] log_config = { metadata = "INCLUDE_ALL_METADATA"