Compare commits
2 Commits
6e144777dd
...
5bc65ab504
Author | SHA1 | Date | |
---|---|---|---|
5bc65ab504 | |||
872ad86a53 |
@@ -24,7 +24,7 @@ resource "google_compute_subnetwork" "db" {
|
||||
region = var.region
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "allow_http-https" {
|
||||
resource "google_compute_firewall" "allowhttphttps" {
|
||||
name = "allow-http-https"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
@@ -37,7 +37,7 @@ resource "google_compute_firewall" "allow_http-https" {
|
||||
target_tags = ["web"]
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "allow_ssh" {
|
||||
resource "google_compute_firewall" "allowssh" {
|
||||
name = "allow-ssh"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
@@ -51,7 +51,7 @@ resource "google_compute_firewall" "allow_ssh" {
|
||||
}
|
||||
|
||||
|
||||
resource "google_compute_firewall" "front-to-back" {
|
||||
resource "google_compute_firewall" "fronttoback" {
|
||||
name = "front-to-back"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
@@ -64,7 +64,7 @@ resource "google_compute_firewall" "front-to-back" {
|
||||
target_tags = ["backend"]
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "back-to-db" {
|
||||
resource "google_compute_firewall" "backtodb" {
|
||||
name = "back-to-db"
|
||||
network = google_compute_network.vpc.id
|
||||
|
||||
|
Reference in New Issue
Block a user