aws-amplify / aws-amplify/amplify-studio
`amplify pull` does not fetch Cognito userGroups created from amplify studio
- Dominant language
- No language data
- Stars
- 135
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
### How did you install the Amplify CLI?
npm
### If applicable, what version of Node.js are you using?
v18.16.1
### Amplify CLI Version
12.10.0
### What operating system are you using?
windows
### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
only from Amplify studio. not via aws services directly.
### Describe the bug
- created new group in 'User management' tab in amplify studio.
- `amplify pull`
- I would expect to see `userPoolGroups` resource in my project, however I only have
```
┌──────────┬─────────────────────────┬───────────┬───────────────────┐
│ Category │ Resource name │ Operation │ Provider plugin │
├──────────┼─────────────────────────┼───────────┼───────────────────┤
│ Api │ medspaceacademy │ No Change │ awscloudformation │
├──────────┼─────────────────────────┼───────────┼───────────────────┤
│ Auth │ medspaceacademyc70e7951 │ No Change │ awscloudformation │
├──────────┼─────────────────────────┼───────────┼───────────────────┤
│ Storage │ medspaceQuestions │ No Change │ awscloudformation │
└──────────┴─────────────────────────┴───────────┴───────────────────┘
```
this cognito pull is already hosting some real users. I can't delete it and recreate it using the cli. how do I effectively importing it so my local amplify cli would recognize this user pool?
### Expected behavior
.
### Reproduction steps
.
### Project Identifier
.]
### Log output
```
# Put your logs below this line
```
### Additional information
_No response_
### Before submitting, please confirm:
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.
Contributor guide
Research direction
Reproduce on Windows with Amplify CLI 12.10.0 and Node.js v18.16.1: create a Cognito group in Amplify Studio, then run `amplify pull` against the existing user pool. Compare the pulled project resources with the Studio-created group; done means the local Amplify project recognizes the userPoolGroups resource without deleting or recreating the pool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, node.js
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100