aws-amplify / aws-amplify/amplify-cli
Auto-update Lambda runtimes for analytics category with CLI upgrade
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
function, analytics
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
To Auto-update Lambda runtimes for analytics, function category with CLI upgrade
### Describe the solution you'd like
Currently the categories where CloudFormation is generated during build time like auth, auto generated Lambda functions runtime is being auto updated.
For example with 12.2.0, the runtimes are updated to nodejs18
However for categories like analytics, Cloudformation template is not being auto-updated.
### Describe alternatives you've considered
As CloudFormation is not part of build time, like functions category updating the runtime amplify/backend/analytics/name/analytics-name-cloudformation-template.json . However the auto-generated code is in aws-sdk v2.
[+] https://docs.amplify.aws/gen1/javascript/build-a-backend/functions/configure-options/
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start by reviewing amplify/backend/analytics/name/analytics-name-cloudformation-template.json and the CLI upgrade behavior described in the issue. Compare it with the documented functions configuration flow and determine where analytics templates are handled. Done means an analytics Lambda runtime is updated automatically when the CLI is upgraded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100