aws-amplify / aws-amplify/amplify-cli

Update flow for imported auth resource

Open
#10,939 1 comment 1 reaction 0 assignees View on GitHub
auth feature-request p4
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?

auth

### Is this related to another service?

_No response_

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

When using a imported cognito resource in amplify, any changes to the resource in the AWS console are not detected by amplify CLI.

Reproduction steps:
1. Create a cognito user pool with oauth attributes.
2. Run amplify import auth and select the user pool.
3. update the user pool on the console.
4. Run `amplify status` or `amplify update auth`

### Describe the solution you'd like

1. use `amplify update auth` command to bring in the latest changes(example: update aws-exports)

or

2. amplify cli auto detects changes for imported/linked resource

### Describe alternatives you've considered

remove and reimport user pool

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