Cloudformation & API Gateway V2 Errors in Jakarta and Hyderabad regions

0

I'm setting up a latency based multi-region API stack using Cloudformation which works so far in multiple regions. I've encountered the following error when setting up via the Cloudformation console in Jakarta and Hyderabad.

Template format error: Unrecognized resource types: [AWS::ApiGatewayV2::Stage, AWS::ApiGatewayV2::Authorizer, AWS::ApiGatewayV2::Route, AWS::ApiGatewayV2::ApiMapping, AWS::ApiGatewayV2::DomainName, AWS::ApiGatewayV2::Integration, AWS::ApiGatewayV2::Api]

Does this mean API Gateway V2 is not available in these two regions or not available through Cloudformation? If so does AWS list which regions do not support V2?

FYI: I've used the same cloudformation templates in 9 other regions so far with no issues.

Edit: I'll follow this up with an error I just received in the Osaka region.

Resource handler returned message: "HTTP APIs are not available in this AWS region (Service: AmazonApiGatewayV2; Status Code: 400; Error Code: BadRequestException; Request ID: 405a49e8----adb57d268591; Proxy: null)" (RequestToken: --fd7b--7f4e76f0dd79, HandlerErrorCode: GeneralServiceException)

It looks like the error handling for missing functionality is inconsistent?

1개 답변
0
수락된 답변

You can find out if a service is available using Parameter Store public parameters. Something like this:

aws ssm get-parameters-by-path \
  --path /aws/service/global-infrastructure/services/apigatewayv2/regions \
  --query Parameters[*].Value
profile pictureAWS
전문가
kentrad
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인