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

refactor: apply a common function to get a aws config in aws lambda and apply synchronized use statements and an explicit client #123

Merged

Conversation

bryan-stclab
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • DevOps process (non-breaking change which improves efficiency and reliability for CI/CD)
  • Documentation only

What this PR does / why we need it:

With a common function to retrieve the aws_config, it is necessary to apply it in the AWS Lambda scaling component.

Which issue/s this PR fixes

#122, and #83

How Has This Been Tested?

I tested with exist code in core/wave-autoscale/src/scaling_component/aws_lambda_function.rs

Checklist:

@bryan-stclab bryan-stclab added target: scaling-component target: type: refactoring type: Refactor the code labels Aug 1, 2023
@bryan-stclab bryan-stclab added this to the v0.0.10 milestone Aug 1, 2023
@bryan-stclab bryan-stclab self-assigned this Aug 1, 2023
@pueding pueding merged commit d3c1331 into main Aug 2, 2023
1 check passed
@pueding pueding deleted the 122-apply-a-common-function-to-get-a-aws_config-in-aws_lambda branch August 2, 2023 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: scaling-component target: type: refactoring type: Refactor the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply a common function to get aws config in aws lambda scaling component
2 participants