Skip to content

fix(cfnspec): make EndpointConfiguration of AWS::Serverless::Api a union type#15526

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
skinny85:fix/sam-cfnspec-endpoint-config
Jul 15, 2021
Merged

fix(cfnspec): make EndpointConfiguration of AWS::Serverless::Api a union type#15526
mergify[bot] merged 2 commits intoaws:masterfrom
skinny85:fix/sam-cfnspec-endpoint-config

Conversation

@skinny85
Copy link
Copy Markdown
Contributor

A recent update to the SAM spec (#15311)
changed the EndpointConfiguration property of AWS::Serverless::Api to have a complex type.
However, that is a breaking change compared to the previous, string, type.
I consulted with the SAM team, and it turns out the property accepts both a string and the complex type.
Given that, patch our SAM spec to make EndpointConfiguration a union type.


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

@skinny85 skinny85 requested a review from a team July 13, 2021 17:51
@skinny85 skinny85 self-assigned this Jul 13, 2021
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jul 13, 2021

…ion type

A recent update to the SAM spec (aws#15311)
changed the EndpointConfiguration property of AWS::Serverless::Api
to have a complex type.
However, that is a breaking change compared to the previous, string, type.
I consulted with the SAM team, and it turns out the property accepts both a string and the complex type.
Given that, patch our SAM spec to make EndpointConfiguration a union type.
@skinny85 skinny85 force-pushed the fix/sam-cfnspec-endpoint-config branch from 3cd8b7e to 29fa0d6 Compare July 14, 2021 00:40
@skinny85 skinny85 requested a review from rix0rrr July 14, 2021 00:46
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: c593edb
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit dd38eff into aws:master Jul 15, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@alexpulver
Copy link
Copy Markdown
Contributor

Thanks @skinny85, it works for me now!

@skinny85 skinny85 deleted the fix/sam-cfnspec-endpoint-config branch July 22, 2021 15:24
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Aug 3, 2021
…ion type (aws#15526)

A recent update to the SAM spec (aws#15311)
changed the EndpointConfiguration property of AWS::Serverless::Api to have a complex type.
However, that is a breaking change compared to the previous, string, type.
I consulted with the SAM team, and it turns out the property accepts both a string and the complex type.
Given that, patch our SAM spec to make EndpointConfiguration a union type.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…ion type (aws#15526)

A recent update to the SAM spec (aws#15311)
changed the EndpointConfiguration property of AWS::Serverless::Api to have a complex type.
However, that is a breaking change compared to the previous, string, type.
I consulted with the SAM team, and it turns out the property accepts both a string and the complex type.
Given that, patch our SAM spec to make EndpointConfiguration a union type.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants