diff --git a/modules/ilmo/main.tf b/modules/ilmo/main.tf index b835e42..ae135c1 100644 --- a/modules/ilmo/main.tf +++ b/modules/ilmo/main.tf @@ -8,8 +8,9 @@ terraform { } locals { - db_name = "${var.env_name}_ilmo_db" - fqdn = "${var.subdomain}.${var.root_zone_name}" + db_name = "${var.env_name}_ilmo_db" + fqdn = "${var.subdomain}.${var.root_zone_name}" + image_tag = "2.0.0-alpha19" } resource "azurerm_postgresql_flexible_server_database" "ilmo_db_new" { @@ -33,7 +34,7 @@ resource "azurerm_linux_web_app" "ilmo_backend" { application_stack { docker_registry_url = "https://ghcr.io" - docker_image_name = "tietokilta/ilmomasiina:latest" + docker_image_name = "tietokilta/ilmomasiina:${local.image_tag}" } }