Fix tests/linting
This commit is contained in:
parent
0337b85747
commit
e962d07e04
|
@ -220,11 +220,11 @@ This example shows how to use the module with a manage instance group as backend
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
module "win-template" {
|
module "win-template" {
|
||||||
source = "./fabric/modules/compute-vm"
|
source = "./fabric/modules/compute-vm"
|
||||||
project_id = "myprj"
|
project_id = "myprj"
|
||||||
zone = "europe-west8-a"
|
zone = "europe-west8-a"
|
||||||
name = "win-template"
|
name = "win-template"
|
||||||
instance_type = "n2d-standard-2"
|
instance_type = "n2d-standard-2"
|
||||||
create_template = true
|
create_template = true
|
||||||
boot_disk = {
|
boot_disk = {
|
||||||
image = "projects/windows-cloud/global/images/windows-server-2019-dc-v20221214"
|
image = "projects/windows-cloud/global/images/windows-server-2019-dc-v20221214"
|
||||||
|
@ -240,10 +240,10 @@ module "win-template" {
|
||||||
}
|
}
|
||||||
|
|
||||||
module "win-mig" {
|
module "win-mig" {
|
||||||
source = "./fabric/modules/compute-mig"
|
source = "./fabric/modules/compute-mig"
|
||||||
project_id = "myprj"
|
project_id = "myprj"
|
||||||
location = "europe-west8-a"
|
location = "europe-west8-a"
|
||||||
name = "win-mig"
|
name = "win-mig"
|
||||||
instance_template = module.win-template.template.self_link
|
instance_template = module.win-template.template.self_link
|
||||||
autoscaler_config = {
|
autoscaler_config = {
|
||||||
max_replicas = 3
|
max_replicas = 3
|
||||||
|
@ -255,7 +255,7 @@ module "win-mig" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
named_ports {
|
named_ports = {
|
||||||
http = 80
|
http = 80
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue