Starting a networking module to get a private ip address for cloudsql.
parent
edb515da09
commit
07b38295c3
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue