Skip to content

Commit f76ae19

Browse files
committed
fix: exposed ip addresses of internal forwarding rules
1 parent 9c69e40 commit f76ae19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/frontend/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
output "ip_address_http_internal" {
18+
description = "The internal/external IP addresses assigned to the HTTP forwarding rules."
19+
value = [for rule in google_compute_global_forwarding_rule.http_internal : rule.ip_address]
20+
}
21+
1722
output "external_ip" {
1823
description = "The external IPv4 assigned to the global fowarding rule."
1924
value = local.address

0 commit comments

Comments
 (0)