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

chore(appconfig): fix eslint and update lambda extension arns #29005

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

chenjane-dev
Copy link
Contributor

Reason for this change

Getting rid of eslint exemptions in the file

Description of changes

Added some inline exemptions/fixed import ordering and also updated lambda layer version ARNs

Description of how you validated changes

Checklist


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

@aws-cdk-automation aws-cdk-automation requested a review from a team February 6, 2024 20:38
@github-actions github-actions bot added p2 admired-contributor [Pilot] contributed between 13-24 PRs to the CDK labels Feb 6, 2024
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Feb 6, 2024
Copy link
Contributor

@kaizencc kaizencc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @chenjane-dev just one comment

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets just put eslint-disable @aws-cdk/no-literal-partition at the top of this file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice was looking for something like that. Updated

@@ -437,48 +438,67 @@ export class Application extends ApplicationBase {

const lambdaLayerVersions: {[key: string]: {[key: string]: string}} = {
[Platform.X86_64]: {
'us-east-1': 'arn:aws:lambda:us-east-1:027255383542:layer:AWS-AppConfig-Extension:110',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The updates to what I assume are versioning numbers here... whats the story behind that? Separate from the goal of this PR, what is the maintenance strategy for keeping these arns up to date?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are updated with our latest lambda layer versions which customers can reference directly from here to add those layers to their lambdas without having to manually find the latest version themselves.

The plan is that whenever we release a new version, we will update this accordingly. I will make sure that this step gets added to our runbooks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve this PR since this convo is separate. But I don't think the plan of manually updating this map is acceptable in the long run. I also don't have a clear idea of what is going on here anyway. So more investigation is needed.

Copy link
Contributor

mergify bot commented Feb 7, 2024

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

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Feb 7, 2024
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 028113d
  • 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 4418c14 into aws:main Feb 7, 2024
12 checks passed
Copy link
Contributor

mergify bot commented Feb 7, 2024

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

@chenjane-dev chenjane-dev deleted the eslint branch February 7, 2024 16:17
TheRealAmazonKendra pushed a commit that referenced this pull request Feb 9, 2024
### Reason for this change

Getting rid of eslint exemptions in the file

### Description of changes

Added some inline exemptions/fixed import ordering and also updated lambda layer version ARNs

### Description of how you validated changes



### Checklist
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)


----

*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
admired-contributor [Pilot] contributed between 13-24 PRs to the CDK p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants