Starting a networking module to get a private ip address for cloudsql.
This commit is contained in:
committed by
Tom Alexander
parent
edb515da09
commit
07b38295c3
10
terraform/modules/networking/networking.tf
Normal file
10
terraform/modules/networking/networking.tf
Normal file
@@ -0,0 +1,10 @@
|
||||
variable "project" {
|
||||
description = "Project ID."
|
||||
type = string
|
||||
}
|
||||
|
||||
resource "google_compute_network" "private_network" {
|
||||
project = var.project
|
||||
name = "private-network"
|
||||
auto_create_subnetworks = false
|
||||
}
|
||||
Reference in New Issue
Block a user