Anyone here using Fargate that would know what I'm...
# general
g
Anyone here using Fargate that would know what I'm doing wrong? Not sure if it's an AWS issue or a Pulumi issue. Getting:
Copy code
awsx:ecs:FargateTaskDefinition resource 'my-resource' has a problem: Requested resources exceed the maximum allowed for Fargate. Requested: 17 vCPU and 2GB. Max: 16 vCPU and 120GB.
For:
Copy code
import { ecs } from '@pulumi/awsx/types/input'
import TaskDefinitionContainerDefinitionArgs = ecs.TaskDefinitionContainerDefinitionArgs

const serviceContainerDefinition: TaskDefinitionContainerDefinitionArgs = {
// ...
        cpu: 16384,
        memory: 32768,
    }
Should be a valid config according to this: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
Copy code
cpu: 8192
memory: 16384
is apparently the maximum I can set it to with it erroring
m
Have you tried setting it as "16 vCPU"? It looks like your 16384 are converted to 17.
⬆️ 1