(ApplicationLoadBalancedFargateService): Container size won't update
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
Once the ECS stack first time deployment done, even I change the container size setting in CDK and run deployment command it won't update the ECS task size.
### Reproduction Steps
1. Build a ECS Stack with ApplicationLoadBalancedFargateService construct class with memoryLimitMiB and cpu option
2. run deploy command
2. change the value in memoryLimitMiB and cpu option
3. run deploy command again
### What did you expect to happen?
the task size should change to the latest value as define in CDK.
### What actually happened?
the task size still as the first time deployment setting.
### Environment
- **CDK CLI Version : @aws-cdk/aws-ecs-patterns "1.88.0**
- **Framework Version:**
- **Node.js Version:**
- **OS :**
- **Language (Version):**
### Other
---
This is :bug: Bug Report
Contributor guide
Research direction
Start with the ApplicationLoadBalancedFargateService construct and reproduce the two-deployment sequence using memoryLimitMiB and cpu, comparing the generated task definition and deployed ECS task size after the second deploy. Done means changing those CDK values results in the ECS task using the latest values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100