Added subnet id and self_link to outputs (#377)
Adjusted module outputs so that it's easier to consume them when using the factory in a larger codebase.
This commit is contained in:
@@ -19,10 +19,12 @@ output "subnet" {
|
||||
value = {
|
||||
for k, v in google_compute_subnetwork.default :
|
||||
k => {
|
||||
network = v.network
|
||||
project = v.project
|
||||
range = v.ip_cidr_range
|
||||
region = v.region
|
||||
id = v.id
|
||||
network = v.network
|
||||
project = v.project
|
||||
range = v.ip_cidr_range
|
||||
region = v.region
|
||||
self_link = v.self_link
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user