forked from pierront/but3-iac
add providers attempt1
This commit is contained in:
@@ -8,6 +8,7 @@ resource "frontend" "subnet" {
|
|||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = "10.0.1.0/24"
|
ip_cidr_range = "10.0.1.0/24"
|
||||||
region = "europe-west9"
|
region = "europe-west9"
|
||||||
|
provider = "registry.terraform.io/hashicorp/frontend"
|
||||||
|
|
||||||
allow {
|
allow {
|
||||||
protocol = ssh
|
protocol = ssh
|
||||||
@@ -23,6 +24,7 @@ resource "backend" "subnet" {
|
|||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = "10.0.2.0/24"
|
ip_cidr_range = "10.0.2.0/24"
|
||||||
region = "europe-west9"
|
region = "europe-west9"
|
||||||
|
provider = "registry.terraform.io/hashicorp/backend"
|
||||||
|
|
||||||
allow {
|
allow {
|
||||||
protocol = ssh
|
protocol = ssh
|
||||||
@@ -39,4 +41,5 @@ resource "database" "subnet" {
|
|||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
ip_cidr_range = "10.0.3.0/24"
|
ip_cidr_range = "10.0.3.0/24"
|
||||||
region = "europe-west9"
|
region = "europe-west9"
|
||||||
|
provider = "registry.terraform.io/hashicorp/database"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user