EMR Serverless CF Stacked failed with "Error occurred during operation 'CreateApplication'"

0
  • below CF stack is failing with this error "Resource handler returned message: Error occurred during operation 'CreateApplication'." (RequestToken: <some-token-id>, HandlerErrorCode: GeneralServiceException)"
  • Region: eu-weat-1
  • anyone knows what could be possible reasons for this error?
AWSTemplateFormatVersion: 2010-09-09
Description: EMR serverless cluster 


Resources:
  EmrSparkApp:
    Type: AWS::EMRServerless::Application
    Properties:
      Type: Spark
      ReleaseLabel: emr-6.9.0
      
Outputs:
  EmrSparkAppId:
    Description: Application ID of the EMR Serverless Spark App
    Value: !Ref EmrSparkApp
1 Answer
1
Accepted Answer

Have you configured EMR Serverless before attempting to deploy the template?

If you follow the getting started docs, you need to create a runtime role before you can starting using the service. You could do this once-off via the console or script it too.

If you have, check CloudTrail in that region for EventName = CreateApplication and check the returned error.

AWS
EXPERT
Raphael
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions