Update README.md
This commit is contained in:
parent
b4b2555910
commit
b0f177a2cf
|
@ -224,23 +224,19 @@ module "win-template" {
|
|||
project_id = "myprj"
|
||||
zone = "europe-west8-a"
|
||||
name = "win-template"
|
||||
|
||||
instance_type = "n2d-standard-2"
|
||||
|
||||
create_template = true
|
||||
boot_disk = {
|
||||
image = "projects/windows-cloud/global/images/windows-server-2019-dc-v20221214"
|
||||
type = "pd-balanced"
|
||||
size = 70
|
||||
}
|
||||
network_interfaces = [{
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
nat = false
|
||||
addresses = null
|
||||
}]
|
||||
|
||||
boot_disk = {
|
||||
image = "projects/windows-cloud/global/images/windows-server-2019-dc-v20221214"
|
||||
type = "pd-balanced"
|
||||
size = 70
|
||||
}
|
||||
|
||||
create_template = true
|
||||
}
|
||||
|
||||
module "win-mig" {
|
||||
|
@ -248,9 +244,7 @@ module "win-mig" {
|
|||
project_id = "myprj"
|
||||
location = "europe-west8-a"
|
||||
name = "win-mig"
|
||||
|
||||
instance_template = module.win-template.template.self_link
|
||||
|
||||
autoscaler_config = {
|
||||
max_replicas = 3
|
||||
min_replicas = 1
|
||||
|
@ -261,14 +255,16 @@ module "win-mig" {
|
|||
}
|
||||
}
|
||||
}
|
||||
named_port {
|
||||
name = "http"
|
||||
port = 80
|
||||
}
|
||||
}
|
||||
|
||||
module "glb-0" {
|
||||
source = "./fabric/modules/net-glb"
|
||||
project_id = "myprj"
|
||||
name = "glb-test-0"
|
||||
|
||||
|
||||
backend_service_configs = {
|
||||
default = {
|
||||
backends = [
|
||||
|
@ -276,12 +272,6 @@ module "glb-0" {
|
|||
]
|
||||
}
|
||||
}
|
||||
|
||||
health_check_configs = {
|
||||
default = {
|
||||
tcp = { port = 80 }
|
||||
}
|
||||
}
|
||||
}
|
||||
# tftest modules=3 resources=8
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue