diff --git a/README.md b/README.md
index a831168..9739149 100644
--- a/README.md
+++ b/README.md
@@ -109,7 +109,10 @@ No modules.
## Outputs
-No outputs.
+| Name | Description |
+|------|-------------|
+| [crn](#output\_crn) | The CRN of the endpoint gateway |
+| [vpe\_ips](#output\_vpe\_ips) | The endpoint gateway reserved ips |
## Contributing
diff --git a/examples/default/outputs.tf b/examples/default/outputs.tf
index db9aa68..7da42d6 100644
--- a/examples/default/outputs.tf
+++ b/examples/default/outputs.tf
@@ -1,3 +1,9 @@
-##############################################################################
-# Please open an issue to suggest outputs for this module
-##############################################################################
+output "vpe_ips" {
+ description = "The endpoint gateway reserved ips"
+ value = module.vpes.vpe_ips
+}
+
+output "crn" {
+ description = "The CRN of the endpoint gateway"
+ value = module.vpes.crn
+}
diff --git a/module-metadata.json b/module-metadata.json
index fcb98e6..80b6ad6 100644
--- a/module-metadata.json
+++ b/module-metadata.json
@@ -128,7 +128,24 @@
}
}
},
- "outputs": {},
+ "outputs": {
+ "crn": {
+ "name": "crn",
+ "description": "The CRN of the endpoint gateway",
+ "pos": {
+ "filename": "outputs.tf",
+ "line": 6
+ }
+ },
+ "vpe_ips": {
+ "name": "vpe_ips",
+ "description": "The endpoint gateway reserved ips",
+ "pos": {
+ "filename": "outputs.tf",
+ "line": 1
+ }
+ }
+ },
"required_core": [
"\u003e=1.3"
],
diff --git a/outputs.tf b/outputs.tf
index db9aa68..d933883 100644
--- a/outputs.tf
+++ b/outputs.tf
@@ -1,3 +1,9 @@
-##############################################################################
-# Please open an issue to suggest outputs for this module
-##############################################################################
+output "vpe_ips" {
+ description = "The endpoint gateway reserved ips"
+ value = [for vpe_pg in ibm_is_virtual_endpoint_gateway.vpe : vpe_pg.ips]
+}
+
+output "crn" {
+ description = "The CRN of the endpoint gateway"
+ value = [for vpe_crn in ibm_is_virtual_endpoint_gateway.vpe : vpe_crn.crn]
+}