mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 18:51:13 +00:00
f7bdcde1c4
Brings up four projects: - one to host the VPC - two to use the VPC - one which is outside the VPC This is based on the diagram in https://cloud.google.com/vpc/docs/shared-vpc and uses the names there where possible for clarity. On one of the machines, a page is generated demonstrating that the networking is working the way you'd expect. That machine's public IP is output by `terraform apply`.
4 lines
139 B
HCL
4 lines
139 B
HCL
output "status_page_public_ip" {
|
|
value = "${google_compute_instance.project_2_vm.network_interface.0.access_config.0.assigned_nat_ip}"
|
|
}
|