Open
Description
Describe the Bug
If changes are made to the task_cpu
or task_memory
values outside of terraform, the module does not see those changes and will not attempt to revert them to the values specified in the module definition.
This was observed using 0.76.0
with FARGATE
launch type.
Expected Behavior
The module will observe changes made to the configuration of the ECS task definition made outside of Terraform, and will change the values for these fields back to their original values when deployed.
Steps to Reproduce
- Create a Fargate task using this module.
- Set
task_memory
andtask_cpu
to any appropriate value. - Using the AWS console, deploy a new version of the module with
task_memory
andtask_cpu
changed to any other values. terraform plan
and observe thatcpu
andmemory
are not shown- Deploy the application and observe that
cpu
andmemory
are still the manually set values even though the infrastructure code specifies differently.
Screenshots
No response
Environment
- OS: WSL
- OpenTofu
- Version
0.76.0
Additional Context
No response