Hi there, i’m having an issue with creating a request validator and outputting it for reuse in various stacks.
So without the output block the validator creates fine and according to the documentation this outout blocu should be fine too?
Error:
Unresolved resource dependencies [body-request-validator] in the Outputs block of the template
CF:
Resources:
BodyRequestValidator:
Type: “AWS::ApiGateway::RequestValidator”
Properties:
Name: body-request-validator
RestApiId:
Ref: ‘ApiGatewayRestApi’
ValidateRequestBody: true
ValidateRequestParameters: false
Outputs:
BodyRequestValidator:
Value:
Ref: body-request-validator
Export:
Name: {self:custom.myAppName}-{self:custom.myStage}-bodyRequestValidator