Skip to content

Commit 518204d

Browse files
authored
feat: subnet CRN now added to the subnet_detail_list output (#587)
1 parent b1812fd commit 518204d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

module-metadata.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -435,15 +435,15 @@
435435
"description": "List of CIDR blocks present in VPC stack",
436436
"pos": {
437437
"filename": "outputs.tf",
438-
"line": 137
438+
"line": 140
439439
}
440440
},
441441
"network_acls": {
442442
"name": "network_acls",
443443
"description": "List of shortnames and IDs of network ACLs",
444444
"pos": {
445445
"filename": "outputs.tf",
446-
"line": 105
446+
"line": 108
447447
}
448448
},
449449
"public_gateways": {
@@ -467,7 +467,7 @@
467467
"description": "A map of subnets containing IDs, CIDR blocks, and zones",
468468
"pos": {
469469
"filename": "outputs.tf",
470-
"line": 81
470+
"line": 83
471471
}
472472
},
473473
"subnet_ids": {
@@ -483,7 +483,7 @@
483483
"description": "A list containing subnet IDs and subnet zones",
484484
"pos": {
485485
"filename": "outputs.tf",
486-
"line": 69
486+
"line": 70
487487
}
488488
},
489489
"vpc_crn": {
@@ -502,7 +502,7 @@
502502
"description": "Details of VPC flow logs collector",
503503
"pos": {
504504
"filename": "outputs.tf",
505-
"line": 122
505+
"line": 125
506506
}
507507
},
508508
"vpc_id": {

outputs.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ output "subnet_detail_list" {
6161
subnet.name => {
6262
id = subnet.id
6363
cidr = subnet.ipv4_cidr_block
64+
crn = subnet.crn
6465
} if subnet.zone == zone_name
6566
}
6667
}
@@ -74,6 +75,7 @@ output "subnet_zone_list" {
7475
id = subnet.id
7576
zone = subnet.zone
7677
cidr = subnet.ipv4_cidr_block
78+
crn = subnet.crn
7779
}
7880
]
7981
}
@@ -91,6 +93,7 @@ output "subnet_detail_map" {
9193
id = subnet.id
9294
zone = subnet.zone
9395
cidr_block = subnet.ipv4_cidr_block
96+
crn = subnet.crn
9497
} if subnet.zone == zone_name
9598
]
9699
}

0 commit comments

Comments
 (0)