Hello everyone,
I need to customize the mapping template that gets automatically created by deploying the API (please see image add the bottom).
I tried to adapt the cloudFormationTemplate by adding some configs to the serverless.yml:
resources:
Resources:
ApiGatewayRestApi:
Type: AWS::ApiGateway::Method
Properties:
RequestTemplates:
"application/json": "test"
The error is as follows: The CloudFormation template is invalid: Template error: resource ApiGatewayRestApi does not support attribute type RootResourceId in Fn::GetAtt
Any Ideas?
Thanks a lot!