Skip to content

Commit

Permalink
add ingress and egress rules in outputs (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsab authored Aug 8, 2023
1 parent 71a1177 commit a2d1d9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/firewall-rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

Expand Down
5 changes: 5 additions & 0 deletions modules/firewall-rules/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit a2d1d9b

Please sign in to comment.