Template format error: Unrecognized resource types: [AWS::Batch::JobQueue, AWS::Batch::ComputeEnvironment, AWS::Batch::JobDefinition]

1

I'm trying to deploy an AWS Batch service with AWS Fargate, but Cloudformation is returning the following error:

Template format error: Unrecognized resource types: [AWS::Batch::JobQueue, AWS::Batch::ComputeEnvironment, AWS::Batch::JobDefinition]

I'm using AWS CDK package, and the "@aws-cdk/aws-batch-alpha": "^2.75.0-alpha.0" library to do so. Docker image is created successfully, but it seems like the generated Cloudformation template is not being recognized. The region I'm trying to use is eu-south-2 (Spain), which supports AWS Batch, so I'm not sure why I'm getting this error.

preguntada hace un año281 visualizaciones
1 Respuesta
0

Have you taken a look at this re:Post article: https://repost.aws/knowledge-center/cloudformation-template-validation? Specifically, the section: "Verify the availability of your resource type" would be important.

However, this typically boils down to one of these causes:

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas