Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not add DefinitionUri when DefinitionBody Property is given #447

Merged
merged 1 commit into from
May 31, 2018

Conversation

jfuss
Copy link
Contributor

@jfuss jfuss commented May 30, 2018

Issue #, if available:
#417

Description of changes:

For the sam validate command, only add the DefinitionUri before running the SAM Translator to an AWS::Serverless::Api Resource if the DefintionBody is not given.

Tested locally

  • ran pytest -vv tests/functional/commands/validate/lib/test_sam_template_validator.py

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sanathkr sanathkr merged commit 4afb0cb into aws:develop May 31, 2018
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.

None yet

3 participants