Skip to content

Commit

Permalink
merge masters
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed May 20, 2024
2 parents 8358afd + 9f473c2 commit 1b3be8b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
locals {
service_name = "${var.env}-${var.release["component"]}"
full_service_name = "${local.service_name}${var.name_suffix}"

tags = merge({
"component" = var.release["component"]
"env" = terraform.workspace
"team" = var.release["team"]
"version" = var.release["version"]
})
}

module "ecs_update_monitor" {
Expand Down Expand Up @@ -69,7 +76,7 @@ module "service" {

module "taskdef" {
source = "mergermarket/task-definition-with-task-role/acuris"
version = "2.2.0"
version = "2.3.0"

family = local.full_service_name
container_definitions = [module.service_container_definition.rendered]
Expand All @@ -81,6 +88,7 @@ module "taskdef" {
network_mode = var.network_mode
is_test = var.is_test
placement_constraint_on_demand_only = var.placement_constraint_on_demand_only
tags = local.tags
}

module "service_container_definition" {
Expand Down

0 comments on commit 1b3be8b

Please sign in to comment.