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

DefinitionUri supports a relative path #86

Closed
wants to merge 1 commit into from

Conversation

JoeMcGuire
Copy link

Clarified documentation that DefinitionUri can support a relative path which is less steps than needing uploading the swagger definition to S3 first.

Clarified documentation that DefinitionUri can support a relative path which is less steps than needing uploading the swagger definition to S3 first.
@sanathkr
Copy link
Contributor

sanathkr commented Feb 6, 2017

Thanks for the PR.

So not quite. If you use the AWS CLI command aws cloudformation package it will do the uploading job for you. But if you are passing a SAM template directly to CloudFormation, DefinitionUri has to be a S3 URI. Technically, the spec accepts only S3 URI for this property.

Would it be better to just add a note below the table, explaining that if you use a relative path, you should use the CLI to package first?

@sanathkr
Copy link
Contributor

sanathkr commented Jan 8, 2018

We want to keep this doc as source of truth for the SAM Spec which only supports S3 URI. So not taking this PR.

@sanathkr sanathkr closed this Jan 8, 2018
mndeveci pushed a commit that referenced this pull request Nov 19, 2021
mndeveci added a commit that referenced this pull request Nov 23, 2021
* feat: Support for Lambda URL (#86)
* feat: changed CorsConfig property to Cors (#89)

Co-authored-by: jonife <79116465+jonife@users.noreply.github.com>
Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com>
hawflau added a commit that referenced this pull request Apr 6, 2022
* feat: Support for Lambda URL (#86)

* feat: changed CorsConfig property to Cors (#89)

* feat: add list of "unreleased" properties (#91)

This change hides the unreleased properties from the "Globals" error message

* Lambda URL integ test (#94)

* remove functionUrlConfig from the unrelease properties (#97)

* remove functionUrlConfig from the unrelease properties

* updates

* Function Url new changes  (#109)

* update to Function Url

* first update

* reverted to support autopublishing and added validation for AuthType values

* adding Integration test

* fix: fix paths IF intrinsic bug (#107)

* fix: fix paths IF intrinsic bug

* missed bit of code

* add NoValue tests

* review feedback and refactoring

* naming fix

* review feedback naming and comments

* add missing test + add extra check for api key on tests

* integration test updated (#122)

Co-authored-by: jonife <79116465+jonife@users.noreply.github.com>
Co-authored-by: Renato Valenzuela <37676028+valerena@users.noreply.github.com>
Co-authored-by: Ruperto Torres <86501267+torresxb1@users.noreply.github.com>
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