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