This pull request includes changes to the Terraform configuration files modules/aws_ecs/main.tf and modules/aws_ecs/variables.tf. The changes introduce a new variable temporal_ecs_task_resource_map and use it to configure the resources for Temporal services in the ECS module. The most important changes are:
modules/aws_ecs/variables.tf: Introduced a new variable temporal_ecs_task_resource_map of type map that specifies the amount of CPU and memory provisioned for each Temporal task. The map keys include frontend, history, matching, and worker, each associated with an object specifying cpu and memory values.
modules/aws_ecs/main.tf: Added a new temporal_services_config block in the module "temporal" block. This new block uses the temporal_ecs_task_resource_map variable to set the CPU and memory for each Temporal service. Each service also has its own request_port and membership_port specified.
This pull request includes changes to the Terraform configuration files
modules/aws_ecs/main.tf
andmodules/aws_ecs/variables.tf
. The changes introduce a new variabletemporal_ecs_task_resource_map
and use it to configure the resources for Temporal services in the ECS module. The most important changes are:modules/aws_ecs/variables.tf
: Introduced a new variabletemporal_ecs_task_resource_map
of typemap
that specifies the amount of CPU and memory provisioned for each Temporal task. The map keys includefrontend
,history
,matching
, andworker
, each associated with an object specifyingcpu
andmemory
values.modules/aws_ecs/main.tf
: Added a newtemporal_services_config
block in themodule "temporal"
block. This new block uses thetemporal_ecs_task_resource_map
variable to set the CPU and memory for each Temporal service. Each service also has its ownrequest_port
andmembership_port
specified.