14 lines
321 B
Terraform
14 lines
321 B
Terraform
|
output "vpc_id" {
|
||
|
value = google_compute_network.my_vpc.id
|
||
|
description = "VPC ID"
|
||
|
}
|
||
|
|
||
|
output "subnet_ids" {
|
||
|
value = {
|
||
|
frontend = google_compute_subnetwork.frontend.id
|
||
|
backend = google_compute_subnetwork.backend.id
|
||
|
database = google_compute_subnetwork.database.id
|
||
|
}
|
||
|
description = "subnetworks ids"
|
||
|
}
|