Skip to content

Commit 33d2c73

Browse files
authored
feat: added new vpc_data output (#641)
1 parent fff72b8 commit 33d2c73

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ To attach access management tags to resources in this module, you need the follo
161161
| <a name="output_subnet_ids"></a> [subnet\_ids](#output\_subnet\_ids) | The IDs of the subnets |
162162
| <a name="output_subnet_zone_list"></a> [subnet\_zone\_list](#output\_subnet\_zone\_list) | A list containing subnet IDs and subnet zones |
163163
| <a name="output_vpc_crn"></a> [vpc\_crn](#output\_vpc\_crn) | CRN of VPC created |
164+
| <a name="output_vpc_data"></a> [vpc\_data](#output\_vpc\_data) | Data of the VPC created. |
164165
| <a name="output_vpc_flow_logs"></a> [vpc\_flow\_logs](#output\_vpc\_flow\_logs) | Details of VPC flow logs collector |
165166
| <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | ID of VPC created |
166167
| <a name="output_vpc_name"></a> [vpc\_name](#output\_vpc\_name) | Name of VPC created |

module-metadata.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,15 @@
468468
"type": "TypeString",
469469
"cloud_data_type": "crn"
470470
},
471+
"vpc_data": {
472+
"name": "vpc_data",
473+
"description": "Data of the VPC created.",
474+
"value": "ibm_is_vpc.vpc",
475+
"pos": {
476+
"filename": "outputs.tf",
477+
"line": 145
478+
}
479+
},
471480
"vpc_flow_logs": {
472481
"name": "vpc_flow_logs",
473482
"description": "Details of VPC flow logs collector",

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,8 @@ output "cidr_blocks" {
141141
description = "List of CIDR blocks present in VPC stack"
142142
value = [for address in data.ibm_is_vpc_address_prefixes.get_address_prefixes.address_prefixes : address.cidr]
143143
}
144+
145+
output "vpc_data" {
146+
description = "Data of the VPC created."
147+
value = ibm_is_vpc.vpc
148+
}

0 commit comments

Comments
 (0)