Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions remote-ingestion-executor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ module "ecs_service" {
security_group_rules = var.security_group_rules
assign_public_ip = var.assign_public_ip

propagate_tags = upper(var.propagate_tags)

container_definitions = {
dh-remote-executor = {
cpu = var.cpu
Expand Down
11 changes: 11 additions & 0 deletions remote-ingestion-executor/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ variable "assign_public_ip" {
default = true
}

variable "propagate_tags" {
description = "Whether to propagate the tags from the task definition or the service to the tasks. The valid values are SERVICE and TASK_DEFINITION"
type = string
default = "NONE"

validation {
condition = contains(["SERVICE", "TASK_DEFINITION", "NONE"], upper(var.propagate_tags))
error_message = "propagate_tags must be one of SERVICE, TASK_DEFINITION, or NONE."
}
}

variable "enable_cloudwatch_logging" {
description = "Determines whether CloudWatch logging is configured for the container definition"
type = bool
Expand Down