feat: Add temporal_ecs_task_resource_map variable #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.