-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
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_memoryandtask_cputo any appropriate value. - Using the AWS console, deploy a new version of the module with
task_memoryandtask_cpuchanged to any other values. terraform planand observe thatcpuandmemoryare not shown- Deploy the application and observe that
cpuandmemoryare 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
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system