|
| 1 | +/** |
| 2 | + * Copyright 2018 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +output "network_name" { |
| 18 | + value = "${module.test-vpc-module.network_name}" |
| 19 | + description = "The name of the VPC being created" |
| 20 | +} |
| 21 | + |
| 22 | +output "network_self_link" { |
| 23 | + value = "${module.test-vpc-module.network_self_link}" |
| 24 | + description = "The URI of the VPC being created" |
| 25 | +} |
| 26 | + |
| 27 | +output "subnets_names" { |
| 28 | + value = "${module.test-vpc-module.subnets_names}" |
| 29 | + description = "The names of the subnets being created" |
| 30 | +} |
| 31 | + |
| 32 | +output "subnets_ips" { |
| 33 | + value = "${module.test-vpc-module.subnets_ips}" |
| 34 | + description = "The IP and cidrs of the subnets being created" |
| 35 | +} |
| 36 | + |
| 37 | +output "subnets_regions" { |
| 38 | + value = "${module.test-vpc-module.subnets_regions}" |
| 39 | + description = "The region where subnets will be created" |
| 40 | +} |
| 41 | + |
| 42 | +output "subnets_private_access" { |
| 43 | + value = "${module.test-vpc-module.subnets_private_access}" |
| 44 | + description = "Whether the subnets will have access to Google API's without a public IP" |
| 45 | +} |
| 46 | + |
| 47 | +output "subnets_flow_logs" { |
| 48 | + value = "${module.test-vpc-module.subnets_flow_logs}" |
| 49 | + description = "Whether the subnets will have VPC flow logs enabled" |
| 50 | +} |
| 51 | + |
| 52 | +output "subnets_secondary_ranges" { |
| 53 | + value = "${module.test-vpc-module.subnets_secondary_ranges}" |
| 54 | + description = "The secondary ranges associated with these subnets" |
| 55 | +} |
| 56 | + |
| 57 | +output "routes" { |
| 58 | + value = "${module.test-vpc-module.routes}" |
| 59 | + description = "The routes associated with this VPC" |
| 60 | +} |
0 commit comments