IAC/service.test.tf

18 lines
378 B
HCL

module "test" {
source = "./lib/grey.ooo/docker/service"
stack_name = "test"
service_name = "hello"
image = "nginxdemos/hello:plain-text"
parallelism = 5
traefik = {
domain = "test.${var.base_domain}"
port = 80
ssl = true
non-ssl = true
#basic-auth-users = ["test"]
}
}
output "test" {
value = module.test.endpoint
}