Skip to content

Commit f0bd509

Browse files
authored
chore: updated rules in readme example to resolve issue #252 (#253)
1 parent 1d833dc commit f0bd509

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

modules/firewall-rules/README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,19 @@ module "firewall_rules" {
1313
network_name = module.vpc.network_name
1414
1515
rules = [{
16-
name = "allow-ssh-ingress"
17-
priority = null
18-
description = null
19-
direction = "INGRESS"
20-
ranges = ["0.0.0.0/0"]
21-
source = {
22-
tags = null
23-
service_accounts = null
24-
}
25-
target = {
26-
tags = null
27-
service_accounts = null
28-
}
16+
name = "allow-ssh-ingress"
17+
description = null
18+
direction = "INGRESS"
19+
priority = null
20+
ranges = ["0.0.0.0/0"]
21+
source_tags = null
22+
source_service_accounts = null
23+
target_tags = null
24+
target_service_accounts = null
2925
allow = [{
3026
protocol = "tcp"
31-
ports = ["22"]
32-
}]
27+
ports = ["22"]
28+
}]
3329
deny = []
3430
log_config = {
3531
metadata = "INCLUDE_ALL_METADATA"

0 commit comments

Comments
 (0)