Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add crn to the subnet output #587

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,15 +435,15 @@
"description": "List of CIDR blocks present in VPC stack",
"pos": {
"filename": "outputs.tf",
"line": 137
"line": 140
}
},
"network_acls": {
"name": "network_acls",
"description": "List of shortnames and IDs of network ACLs",
"pos": {
"filename": "outputs.tf",
"line": 105
"line": 108
}
},
"public_gateways": {
Expand All @@ -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": {
Expand All @@ -483,7 +483,7 @@
"description": "A list containing subnet IDs and subnet zones",
"pos": {
"filename": "outputs.tf",
"line": 69
"line": 70
}
},
"vpc_crn": {
Expand All @@ -502,7 +502,7 @@
"description": "Details of VPC flow logs collector",
"pos": {
"filename": "outputs.tf",
"line": 122
"line": 125
}
},
"vpc_id": {
Expand Down
3 changes: 3 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -74,6 +75,7 @@ output "subnet_zone_list" {
id = subnet.id
zone = subnet.zone
cidr = subnet.ipv4_cidr_block
crn = subnet.crn
}
]
}
Expand All @@ -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
]
}
Expand Down