test network
This commit is contained in:
parent
5f4193870f
commit
dc72c7b34a
@ -3,21 +3,21 @@ resource "google_compute_network" "vpc" {
|
|||||||
auto_create_subnetworks = false
|
auto_create_subnetworks = false
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_subnetwork" "subnet" {
|
resource "google_compute_subnetwork" "frontend" {
|
||||||
name = "frontend"
|
name = "frontend"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = var.frontend_cidr
|
ip_cidr_range = var.frontend_cidr
|
||||||
region = var.region
|
region = var.region
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_subnetwork" "subnet" {
|
resource "google_compute_subnetwork" "backend" {
|
||||||
name = "backend"
|
name = "backend"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = var.backend_cidr
|
ip_cidr_range = var.backend_cidr
|
||||||
region = var.region
|
region = var.region
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_subnetwork" "subnet" {
|
resource "google_compute_subnetwork" "database" {
|
||||||
name = "database"
|
name = "database"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = var.database_cidr
|
ip_cidr_range = var.database_cidr
|
||||||
|
Loading…
Reference in New Issue
Block a user