diff --git a/examples/2016-10-31/api_swagger_cors/template.yaml b/examples/2016-10-31/api_swagger_cors/template.yaml index 02a58eab2..d7e845056 100644 --- a/examples/2016-10-31/api_swagger_cors/template.yaml +++ b/examples/2016-10-31/api_swagger_cors/template.yaml @@ -6,7 +6,7 @@ Resources: ApiGatewayApi: Type: AWS::Serverless::Api Properties: - DefinitionUri: swagger.yaml + DefinitionUri: s3:///swagger.yaml StageName: Prod Variables: # NOTE: Before using this template, replace the <> and <> fields @@ -17,7 +17,7 @@ Resources: LambdaFunction: Type: AWS::Serverless::Function Properties: - CodeUri: . + CodeUri: s3:///api_swagger_cors.zip Handler: index.handler Runtime: nodejs4.3 Events: