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

update, remove function DX enhancements #7308

Closed
2 tasks
attilah opened this issue May 11, 2021 · 2 comments
Closed
2 tasks

update, remove function DX enhancements #7308

attilah opened this issue May 11, 2021 · 2 comments
Assignees
Labels
feature-request Request a new feature functions Issues tied to the functions category pending-release Code has been merged but pending release

Comments

@attilah
Copy link
Contributor

attilah commented May 11, 2021

Is this 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

Enhance the update function and remove function walkthrough with some additional checks and auto-selection of options.

Describe the solution you'd like

When running update function, CLI shows a prompt to select a service: Function or Layers.

CLI could check project resources to see if there are Functions and/or Layers exists or not.

  1. if both exists keep the existing functionality
  2. if only one of them exists, auto select that service and skip to the resources selection directly
  3. if none of them exist, then show the standard "No function resources to update. Use "amplify add function" to create a function or layer."

The same treatment could be applied to remove function as well.

Some E2E tests will probably require updates as well where add function, update function or remove function.

Describe alternatives you've considered

N/A

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@attilah attilah added enhancement functions Issues tied to the functions category labels May 11, 2021
@johnpc johnpc self-assigned this Jul 16, 2021
@johnpc johnpc added the pending-release Code has been merged but pending release label Jul 27, 2021
@jhockett
Copy link
Contributor

This issue was addressed in the latest release, 5.2.0.

@josefaidt josefaidt added feature-request Request a new feature and removed enhancement labels Sep 3, 2021
@github-actions
Copy link

github-actions bot commented Nov 3, 2021

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request a new feature functions Issues tied to the functions category pending-release Code has been merged but pending release
Projects
None yet
Development

No branches or pull requests

4 participants