Skip to content

Conversation

stuart-robinson
Copy link
Contributor

@stuart-robinson stuart-robinson commented Mar 14, 2018

The SAM template used in Step 2: Create Your Pipeline needs to be the output template from the package command from Step 1: Set Up Your Repository. Currently, the docs refer to using the input samTemplate.yaml with the deploy command. This results in the following CloudFormation error:

FAILED - Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [TimeFunction] is invalid. 'CodeUri' is not a valid S3 Uri of the form "s3://bucket/key" with optional versionId query parameter.

This change in the docs references the correct template.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mwunderl mwunderl merged commit c47d785 into awsdocs:master Apr 2, 2019
@mwunderl
Copy link
Member

mwunderl commented Apr 2, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants