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.

已提問 1 年前檢視次數 297 次
1 個回答
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:

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南