amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

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

Open josefaidt opened this issue 3 years ago • 0 comments

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

josefaidt avatar Mar 18 '22 19:03 josefaidt