You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E3048 '4 vCPU' is not one of ['256', '512', '1024', '2048', '4096', '8192', '16384']
See:
The number of CPU units used by the task. It can be expressed as an integer using CPU units (for example, 1024) or as a string using vCPUs (for example, 1 vCPU or 1 vcpu) in a task definition. String values are converted to an integer indicating the CPU units when the task definition is registered.
A lot of variations to whats in the documentation....
.25 vCpU as many spaces as you need and vcpu is case insensitive. I've updated the schema to handle this.
Same applies to memory 1GB works along with 1 gb
Switching to a pattern style validation for this validation.
CloudFormation Lint Version
1.7.0
What operating system are you using?
Mac
Describe the bug
E3048 '4 vCPU' is not one of ['256', '512', '1024', '2048', '4096', '8192', '16384']
See:
https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RegisterTaskDefinition.html#ECS-RegisterTaskDefinition-request-cpu
Caused by: #3464 @kddejong
Expected behavior
4 vCPU is valid
Reproduction template
^
The text was updated successfully, but these errors were encountered: