Skip to content

chore: remove apiVersion from custom resources#27021

Merged
mergify[bot] merged 4 commits intomainfrom
conroy/apiversion
Sep 6, 2023
Merged

chore: remove apiVersion from custom resources#27021
mergify[bot] merged 4 commits intomainfrom
conroy/apiversion

Conversation

@kaizencc
Copy link
Copy Markdown
Contributor

@kaizencc kaizencc commented Sep 5, 2023

apiVersion no longer is recognized by sdk v3. source: aws/aws-sdk-js-v3#1869

We use it in two custom resources. I confirmed that each apiVersion represented the latest version of sdk v2 and was almost certainly hardcoded because it was the recommended practice: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.html

Both integ tests succeed deployment. I can confirm that aws-route53/delete-existing-record-set-handler works as intended but the integ test for pipelines/approve-lambda could never have worked and needs to be rewritten. That should happen in a different PR.


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

@github-actions github-actions bot added the p2 label Sep 5, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team September 5, 2023 22:17
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 5, 2023
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Sep 5, 2023
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 4c7f421
  • 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 Sep 6, 2023

Thank you for contributing! Your pull request will be updated from main 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 b5fe0a1 into main Sep 6, 2023
@mergify mergify bot deleted the conroy/apiversion branch September 6, 2023 07:38
mikewrighton pushed a commit that referenced this pull request Sep 14, 2023
`apiVersion` no longer is recognized by sdk v3. source: aws/aws-sdk-js-v3#1869

We use it in two custom resources. I confirmed that each `apiVersion` represented the latest version of sdk v2 and was almost certainly hardcoded because it was the recommended practice: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.html

Both integ tests succeed deployment. I can confirm that `aws-route53/delete-existing-record-set-handler` works as intended but the integ test for `pipelines/approve-lambda` could never have worked and needs to be rewritten. That should happen in a different PR.

----

*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. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants