-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
I have an external Swagger file (not in S3), and trying to do something like
DefinitionUri: !Ref SwaggerFile
or !Join or !Sub results in
Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [MyAPI] is invalid. 'DefinitionUri' requires Bucket and Key properties to be specified
Whereas DefinitionUri: swagger_development.yml
works fine.
https://github.com/awslabs/serverless-application-model/blob/master/HOWTO.md#using-intrinsic-functions seems to claim this should work. This makes working with a SAM template with different configs for development and testing difficult.
Metadata
Metadata
Assignees
Labels
No labels