aws-amplify / aws-amplify/amplify-cli

Auto-update Lambda runtimes for analytics category with CLI upgrade

Open
#13,788 4 comments 0 reactions 0 assignees View on GitHub
analytics bug documentation p2
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.