mirror of
https://github.com/ghndrx/GSP662.git
synced 2026-02-10 06:54:58 +00:00
add modules
This commit is contained in:
26
main.tf
26
main.tf
@@ -9,4 +9,30 @@ module "storage" {
|
||||
module "instance" {
|
||||
source = "./modules/instances"
|
||||
fancy_store_name = module.storage.fancy_store_name
|
||||
}
|
||||
|
||||
module "healthchecks" {
|
||||
source = "./modules/network/healthchecks"
|
||||
}
|
||||
|
||||
module "firewall" {
|
||||
source = "./modules/network/firewall"
|
||||
|
||||
}
|
||||
|
||||
module "loadbalancer" {
|
||||
source = "./modules/network/loadbalancer"
|
||||
}
|
||||
|
||||
module "network" {
|
||||
source = "./modules/network"
|
||||
|
||||
}
|
||||
|
||||
module "instance-group" {
|
||||
source = "./modules/instance-group"
|
||||
}
|
||||
|
||||
module "autoscale" {
|
||||
source = "./modules/autoscale"
|
||||
}
|
||||
@@ -9,7 +9,7 @@ resource "google_compute_instance_group_manager" "fancy_fe_mig" {
|
||||
google_compute_target_pool.fancy_target_pool.self_link
|
||||
]
|
||||
|
||||
zone = "us-central1-a"
|
||||
zone = "us-central1-f"
|
||||
|
||||
update_policy {
|
||||
type = "PROACTIVE"
|
||||
@@ -37,7 +37,7 @@ resource "google_compute_instance_group_manager" "fancy_be_mig" {
|
||||
google_compute_target_pool.fancy_target_pool.self_link
|
||||
]
|
||||
|
||||
zone = "us-central1-a"
|
||||
zone = "us-central1-f"
|
||||
|
||||
update_policy {
|
||||
type = "PROACTIVE"
|
||||
|
||||
Reference in New Issue
Block a user