From 1a53c163654f50a7d1e80cef71958ec481cc0e4c Mon Sep 17 00:00:00 2001 From: Daniel Strebel Date: Tue, 3 May 2022 17:02:57 +0200 Subject: [PATCH] add service_attachment to Apigee instance outputs --- modules/apigee-x-instance/README.md | 1 + modules/apigee-x-instance/outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/modules/apigee-x-instance/README.md b/modules/apigee-x-instance/README.md index e56b32da..7ad1f98b 100644 --- a/modules/apigee-x-instance/README.md +++ b/modules/apigee-x-instance/README.md @@ -64,5 +64,6 @@ module "apigee-x-instance" { | [id](outputs.tf#L22) | Apigee instance ID. | | | [instance](outputs.tf#L27) | Apigee instance. | | | [port](outputs.tf#L32) | Port number of the internal endpoint of the Apigee instance. | | +| [service_attachment](outputs.tf#L37) | Resource name of the service attachment created for this Apigee instance. | | diff --git a/modules/apigee-x-instance/outputs.tf b/modules/apigee-x-instance/outputs.tf index d21a422a..06725208 100644 --- a/modules/apigee-x-instance/outputs.tf +++ b/modules/apigee-x-instance/outputs.tf @@ -33,3 +33,8 @@ output "port" { description = "Port number of the internal endpoint of the Apigee instance." value = google_apigee_instance.apigee_instance.port } + +output "service_attachment" { + description = "Resource name of the service attachment created for this Apigee instance." + value = google_apigee_instance.apigee_instance.service_attachment +}