forked from pierront/but3-iac
encore x6
This commit is contained in:
@@ -47,8 +47,8 @@ resource "google_compute_firewall" "allow-http" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# - SSH vers toutes les instances
|
# - SSH vers toutes les instances
|
||||||
resource "google_compute_firewall" "SSH" {
|
resource "google_compute_firewall" "ssh_for_all" {
|
||||||
name = "SSH"
|
name = "ssh_for_all"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
|
|
||||||
allow {
|
allow {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ output "vpc_terraform_output" {
|
|||||||
|
|
||||||
output "list_id" {
|
output "list_id" {
|
||||||
value = {
|
value = {
|
||||||
frontend = google_compute_subnetwork.subnet_frontend.id
|
frontend = google_compute_network.vpc.id
|
||||||
backend = google_compute_subnetwork.subnet_backend.id
|
backend = google_compute_network.vpc.id
|
||||||
database = google_compute_subnetwork.subnet_database.id
|
database = google_compute_network.vpc.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user