Skip to content

Transform duplicates API gateway definition #139

@kwcrook

Description

@kwcrook

FAILED - Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [AWSIoTAPI] is invalid. Specify either 'DefinitionUri' or 'DefinitionBody' property and not both

The transform keeps on adding a DefinitionUri that points to garbage code even if DefinitionBody is already correctly defined inline.

I tried adding DefinitionUri : null, but it overwrites it again and points it to the lambda function folder

I've tried to find documentation on the package command and here on this github repo but I haven't been able to find anything definitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions