aws-amplify / aws-amplify/amplify-cli

Support `--force` for category based pushes

Open
#10,540 0 comments 0 reactions 0 assignees View on GitHub
feature-request p3 platform
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

As of now the `amplify push --force` works which ends up force-pushing all the stacks I would like to force push a category on itself

### Describe the solution you'd like

I would like to use `amplify push funciton --forcePush` to just update my layer

### Describe alternatives you've considered

Currently use `amplify push --force`

### 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 tracing the CLI handling for `amplify push function --forcePush` and compare it with the existing `amplify push --force` behavior. Define done as allowing a force push for only the requested function category and layer, without force-pushing other stacks; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
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.