Cannot run pull command
See original GitHub issueBefore opening, please confirm:
- I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
- I have searched for duplicate or closed issues.
- I have read the guide for submitting bug reports.
- I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- I have removed any sensitive information from my code snippets and submission.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.9.0
Amplify CLI Version
10.0.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.
No
Amplify Categories
Not applicable
Amplify Commands
pull
Describe the bug
Cannot pull amplify to project. An error messgae is
Failed to get credentials: User: arn:aws:sts::11111111111111:assumed-role/ap-southeast-1_vwdG8XQs7_Full-access/CognitoIdentityCredentials is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::11111111111111:role/ap-southeast-1_vwdG8XQs7_Full-access
An error just happend a few hours ago. But ,yesterday, when I ran pull command everything is fine.
Expected behavior
Pull amplify backend to project without error
Reproduction steps
- Just run pull command in VS Code terminal
GraphQL schema(s)
# Put schemas below this line
Project Identifier
No response
Log output
# Put your logs below this line
Additional information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Unable to run git pull command - Stack Overflow
I have to perform migration on server which is located on Client location. So I used to connect it using putty and run...
Read more >Git - Pull Not Working - Unfuddle Support
There are several causes for a malfunctioning git-pull command. ... Doing this will allow you to simply run git pull and Git will...
Read more >Troubleshooting errors with Docker commands when using ...
If you are running docker pull on an Amazon EC2 instance in a private subnet, verify that the subnet has a route to...
Read more >How to fix Git Clone "Filename too long" Error in Windows?
Simply navigate to the project's home directory and find the ".git" folder and apply the command line to exclusively fix this project. Open...
Read more >Error: failed to push some refs to – How to Fix in Git
To fix the error, go on and run following commands: git pull --rebase origin main git push -u origin main. If the first...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In case anyone encountered this problem, it can be fixed with following steps:
arn:aws:iam::88888888888888:role/ap-southeast-1_clcRVJkLh_Full-access
Disabling and then enabling Amplify Studio fixed the problem for me.
It may fix things for others too.