From a2d1d9b1d1dd4498b4dec945515962bfdd621d1f Mon Sep 17 00:00:00 2001 From: Ryan Sabatini <11415980+rjsab@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:04:51 -0500 Subject: [PATCH] add ingress and egress rules in outputs (#483) --- modules/firewall-rules/README.md | 1 + modules/firewall-rules/outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/modules/firewall-rules/README.md b/modules/firewall-rules/README.md index 4bbcc9e7..9a281a55 100644 --- a/modules/firewall-rules/README.md +++ b/modules/firewall-rules/README.md @@ -51,6 +51,7 @@ module "firewall_rules" { | Name | Description | |------|-------------| | firewall\_rules | The created firewall rule resources | +| firewall\_rules\_ingress\_egress | The created firewall ingress/egress rule resources | diff --git a/modules/firewall-rules/outputs.tf b/modules/firewall-rules/outputs.tf index 53ec10b4..9f2bd042 100644 --- a/modules/firewall-rules/outputs.tf +++ b/modules/firewall-rules/outputs.tf @@ -18,3 +18,8 @@ output "firewall_rules" { value = google_compute_firewall.rules description = "The created firewall rule resources" } + +output "firewall_rules_ingress_egress" { + value = google_compute_firewall.rules_ingress_egress + description = "The created firewall ingress/egress rule resources" +}