mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
![Nathan McKinley](/assets/img/avatar_default.png)
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`.
21 lines
423 B
HCL
21 lines
423 B
HCL
variable "region" {
|
|
default = "us-central1"
|
|
}
|
|
|
|
variable "region_zone" {
|
|
default = "us-central1-f"
|
|
}
|
|
|
|
variable "org_id" {
|
|
description = "The ID of the Google Cloud Organization."
|
|
}
|
|
|
|
variable "billing_account_id" {
|
|
description = "The ID of the associated billing account (optional)."
|
|
}
|
|
|
|
variable "credentials_file_path" {
|
|
description = "Location of the credentials to use."
|
|
default = "~/.gcloud/Terraform.json"
|
|
}
|