oui
This commit is contained in:
parent
39e0038d7e
commit
f20be37925
@ -24,8 +24,8 @@ resource "google_compute_subnetwork" "database" {
|
||||
region = var.region
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "allow_http-https" {
|
||||
name = "allow-http-https"
|
||||
resource "google_compute_firewall" "AllowHttpHttps" {
|
||||
name = "AllowHttpHttps"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
allow {
|
||||
@ -37,8 +37,8 @@ resource "google_compute_firewall" "allow_http-https" {
|
||||
target_tags = ["web"]
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "allow_ssh" {
|
||||
name = "allow-ssh"
|
||||
resource "google_compute_firewall" "AllowSsh" {
|
||||
name = "AllowSsh"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
allow {
|
||||
@ -50,8 +50,8 @@ resource "google_compute_firewall" "allow_ssh" {
|
||||
target_tags = ["web"]
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "front-to-back" {
|
||||
name = "front-to-back"
|
||||
resource "google_compute_firewall" "FrontToBack" {
|
||||
name = "FrontToBack"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
allow {
|
||||
@ -63,8 +63,8 @@ resource "google_compute_firewall" "front-to-back" {
|
||||
target_tags = ["backend"]
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "back-to-db" {
|
||||
name = "back-to-db"
|
||||
resource "google_compute_firewall" "BackToDb" {
|
||||
name = "BackToDb"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
allow {
|
||||
|
Loading…
Reference in New Issue
Block a user