From 226a2867ac5a6fe8af84fb09671905964a725552 Mon Sep 17 00:00:00 2001 From: Aashiq-J Date: Wed, 26 Jul 2023 14:11:37 +0530 Subject: [PATCH] fix: add crn to the subnet output --- module-metadata.json | 10 +++++----- outputs.tf | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/module-metadata.json b/module-metadata.json index b0bc0b05..bd01f962 100644 --- a/module-metadata.json +++ b/module-metadata.json @@ -435,7 +435,7 @@ "description": "List of CIDR blocks present in VPC stack", "pos": { "filename": "outputs.tf", - "line": 137 + "line": 140 } }, "network_acls": { @@ -443,7 +443,7 @@ "description": "List of shortnames and IDs of network ACLs", "pos": { "filename": "outputs.tf", - "line": 105 + "line": 108 } }, "public_gateways": { @@ -467,7 +467,7 @@ "description": "A map of subnets containing IDs, CIDR blocks, and zones", "pos": { "filename": "outputs.tf", - "line": 81 + "line": 83 } }, "subnet_ids": { @@ -483,7 +483,7 @@ "description": "A list containing subnet IDs and subnet zones", "pos": { "filename": "outputs.tf", - "line": 69 + "line": 70 } }, "vpc_crn": { @@ -502,7 +502,7 @@ "description": "Details of VPC flow logs collector", "pos": { "filename": "outputs.tf", - "line": 122 + "line": 125 } }, "vpc_id": { diff --git a/outputs.tf b/outputs.tf index 15aa2c43..484f1292 100644 --- a/outputs.tf +++ b/outputs.tf @@ -61,6 +61,7 @@ output "subnet_detail_list" { subnet.name => { id = subnet.id cidr = subnet.ipv4_cidr_block + crn = subnet.crn } if subnet.zone == zone_name } } @@ -74,6 +75,7 @@ output "subnet_zone_list" { id = subnet.id zone = subnet.zone cidr = subnet.ipv4_cidr_block + crn = subnet.crn } ] } @@ -91,6 +93,7 @@ output "subnet_detail_map" { id = subnet.id zone = subnet.zone cidr_block = subnet.ipv4_cidr_block + crn = subnet.crn } if subnet.zone == zone_name ] }