Skip to content

fix(lambda): currentVersion fails when architecture specified#16849

Merged
mergify[bot] merged 4 commits intomasterfrom
nija-at/lambda-architecture
Oct 7, 2021
Merged

fix(lambda): currentVersion fails when architecture specified#16849
mergify[bot] merged 4 commits intomasterfrom
nija-at/lambda-architecture

Conversation

@nija-at
Copy link
Copy Markdown
Contributor

@nija-at nija-at commented Oct 7, 2021

The cause for this is that the new 'Architecture' property added to the
CloudFormation specification is not classified as version locked or not.

Added a test to ensure that any missing properties are caught in the
future.

Further, deprecated the architectures property and replaced with a
singular architecture prop. Lambda Functions only support one
architecture.

Additionally, removed the CFN spec patch, now that the CloudFormation
resource specification includes the Architecture fields.

fixes #16814


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

The cause for this is that the new 'Architecture' property added to the
CloudFormation specification is not classified as version locked or not.

Added a test to ensure that any missing properties are caught in the
future.

Further, deprecated the `architectures` property and replaced with a
singular `architecture` prop. Lambda Functions only support one
architecture.

Additionally, removed the CFN spec patch, now that the CloudFormation
resource specification includes the Architecture fields.

fixes #16814
@nija-at nija-at requested review from a team and skinny85 October 7, 2021 14:29
@nija-at nija-at self-assigned this Oct 7, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Oct 7, 2021
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Oct 7, 2021

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Oct 7, 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).

@mergify mergify bot merged commit 8a0d369 into master Oct 7, 2021
@mergify mergify bot deleted the nija-at/lambda-architecture branch October 7, 2021 16:49
mergify bot pushed a commit that referenced this pull request Oct 11, 2021
Update doc to reflect deprecation from #16849

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
njlynch pushed a commit that referenced this pull request Oct 11, 2021
The cause for this is that the new 'Architecture' property added to the
CloudFormation specification is not classified as version locked or not.

Added a test to ensure that any missing properties are caught in the
future.

Further, deprecated the `architectures` property and replaced with a
singular `architecture` prop. Lambda Functions only support one
architecture.

Additionally, removed the CFN spec patch, now that the CloudFormation
resource specification includes the Architecture fields.

fixes #16814


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
)

The cause for this is that the new 'Architecture' property added to the
CloudFormation specification is not classified as version locked or not.

Added a test to ensure that any missing properties are caught in the
future.

Further, deprecated the `architectures` property and replaced with a
singular `architecture` prop. Lambda Functions only support one
architecture.

Additionally, removed the CFN spec patch, now that the CloudFormation
resource specification includes the Architecture fields.

fixes aws#16814


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Update doc to reflect deprecation from aws#16849

----

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

(aws-lambda): new Architectures prop causes problems with ambda version prop

3 participants