aws-amplify / aws-amplify/amplify-cli

add support for creating Python-based s3 trigger in `amplify add storage` flow

Open
#10,020 1 comment 0 reactions 0 assignees View on GitHub
feature-request functions p3 storage
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

### Is this related to another service?

_No response_

### Describe the feature you'd like to request

When adding an s3 bucket with `amplify add storage` we are prompted to create a Lambda Trigger, however upon selecting "yes" we are not prompted with the runtime question prompted in `amplify add function` thus creating a Node-based Lambda function.

As a workaround we can first create the Python Lambda with `amplify add function`, and select the existing function in the `amplify add storage` flow.

### Describe the solution you'd like

When choosing to create a new function for the s3 trigger, enter the `amplify add function` flow starting with the `runtime` prompt

### Describe alternatives you've considered

create the python function first, then choose the existing function in `amplify add storage` flow

### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.