-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(ecs): Incorrect ECS Fargate cpu/memory settings are not detected #22216
(ecs): Incorrect ECS Fargate cpu/memory settings are not detected #22216
Comments
It would be nice to detect this before deployment. Do you know where we can read documentation on the exact specifications for these inputs? |
The three links given in the PR below are helpful. Allowable values in the 1st line, you can see whether or not there is a runtime constraint in the 2nd and 3rd lines |
It is also possible to define the CPU corresponding to memory as an enum, or vice versa. However, it is assumed that it is necessary to allow ″type number″ when considering backward compatibility. Therefore, the value check process is recognized with higher priority. |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
Now this setting succeeds, but this is the wrong cpu/memory ratio for a Fargate setting.
It may be necessary to add a
checkFargateWindowsBasedTasksSize
type of determination method to Fargate as well!Expected Behavior
Before
cdk synth
, CDK will determine the wrong configuration.Current Behavior
Generate unsuccessful task definitions as CFn templates
Reproduction Steps
Here's the sample code I wrote above
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.41.1
Framework Version
No response
Node.js Version
any
OS
any
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: