From 1a34cb1dc95cf8ef6f4adffc8d9961db954ee577 Mon Sep 17 00:00:00 2001 From: Luca Prete Date: Sat, 21 Oct 2023 14:29:39 +0200 Subject: [PATCH] Fix outputs order --- modules/net-lb-ext/README.md | 6 +++--- modules/net-lb-ext/outputs.tf | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/net-lb-ext/README.md b/modules/net-lb-ext/README.md index 1fbb0854da..18d2859d3e 100644 --- a/modules/net-lb-ext/README.md +++ b/modules/net-lb-ext/README.md @@ -251,9 +251,9 @@ module "nlb" { | [backend_service](outputs.tf#L17) | Backend resource. | | | [backend_service_id](outputs.tf#L22) | Backend id. | | | [backend_service_self_link](outputs.tf#L27) | Backend self link. | | -| [forwarding_rule_addresses](outputs.tf#L37) | Forwarding rule addresses. | | -| [forwarding_rule_self_links](outputs.tf#L45) | Forwarding rule self links. | | -| [forwarding_rules](outputs.tf#L32) | Forwarding rule resources. | | +| [forwarding_rule_addresses](outputs.tf#L32) | Forwarding rule addresses. | | +| [forwarding_rule_self_links](outputs.tf#L40) | Forwarding rule self links. | | +| [forwarding_rules](outputs.tf#L48) | Forwarding rule resources. | | | [group_self_links](outputs.tf#L53) | Optional unmanaged instance group self links. | | | [groups](outputs.tf#L60) | Optional unmanaged instance group resources. | | | [health_check](outputs.tf#L65) | Auto-created health-check resource. | | diff --git a/modules/net-lb-ext/outputs.tf b/modules/net-lb-ext/outputs.tf index 87e078c2af..bd3f383a39 100644 --- a/modules/net-lb-ext/outputs.tf +++ b/modules/net-lb-ext/outputs.tf @@ -29,11 +29,6 @@ output "backend_service_self_link" { value = google_compute_region_backend_service.default.self_link } -output "forwarding_rules" { - description = "Forwarding rule resources." - value = google_compute_forwarding_rule.forwarding_rules -} - output "forwarding_rule_addresses" { description = "Forwarding rule addresses." value = { @@ -50,6 +45,11 @@ output "forwarding_rule_self_links" { } } +output "forwarding_rules" { + description = "Forwarding rule resources." + value = google_compute_forwarding_rule.forwarding_rules +} + output "group_self_links" { description = "Optional unmanaged instance group self links." value = {