refactor: rename hostnames to subdomains

This commit is contained in:
Yuris Cakranegara
2025-06-07 15:21:02 +10:00
parent d441e80fbd
commit 0f3d672a11
4 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ locals {
image_tag = var.image_tag != "" ? var.image_tag : "latest"
monitoring = true
exposed_port = 5006
hostnames = ["budget"]
subdomains = ["budget"]
default_volumes = [
{
container_path = "/data"
@@ -46,6 +46,6 @@ output "service_definition" {
name = local.container_name
primary_port = local.exposed_port
endpoint = "http://${local.container_name}:${local.exposed_port}"
hostnames = local.hostnames
subdomains = local.subdomains
}
}