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(cfnspec): make EndpointConfiguration of AWS::Serverless::Api a union type #15526

Merged
merged 2 commits into from
Jul 15, 2021

Conversation

skinny85
Copy link
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

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
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
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
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
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