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

Amplify push api throws error 403 with rds #2145

Closed
2 tasks done
ginuxone opened this issue Dec 19, 2023 · 6 comments
Closed
2 tasks done

Amplify push api throws error 403 with rds #2145

ginuxone opened this issue Dec 19, 2023 · 6 comments
Labels
bug Something isn't working RDS transferred

Comments

@ginuxone
Copy link

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

v18.16.0

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.

No manual changes

Describe the bug

Whenever i try to run amplify push api command it returns an error Unable to retrieve layer mapping from https://amplify-rds-layer-resources.s3.amazonaws.com/sql-layer-versions/eu-south-1 with status code 403. But i'm not using rds at all

Expected behavior

i was expecting to push my schema update to the cloud

Reproduction steps

amplify push api

Project Identifier

No response

Log output

# Put your logs below this line


Unable to retrieve layer mapping from https://amplify-rds-layer-resources.s3.amazonaws.com/sql-layer-versions/eu-south-1 with status code 403.

Additional information

No response

Before submitting, please confirm:

  • 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.
@ginuxone
Copy link
Author

Possible duplicate with aws-amplify/amplify-cli#13455

@ykethan
Copy link
Member

ykethan commented Dec 19, 2023

Hey @ginuxone, thank you for reaching out. Could you run amplify diagnose --send-report and provide us the project identifier output?
Additionally, could you try running amplify push api --debug and provide us the output?

Transferring to our API repository for further investigation.

@ykethan ykethan transferred this issue from aws-amplify/amplify-cli Dec 19, 2023
@dpilch dpilch added the bug Something isn't working label Dec 19, 2023
@ykethan
Copy link
Member

ykethan commented Dec 19, 2023

Update:
I was able to reproduce the issue using the following steps

  1. amplify init -> select region as eu-south-1
  2. amplify add api
    it should fail with the following
    image

The error did not occur when running push with app in region such as us-east-1

@ykethan
Copy link
Member

ykethan commented Dec 19, 2023

Hey @ginuxone, the Amplify team has rolled back the changes. Could you retry running amplify push ?

@ginuxone
Copy link
Author

hey @ykethan I'll give it a try tomorrow at work! and let you know

@ginuxone
Copy link
Author

@ykethan Yes! It's working now!
Thanks for the support!
I'll close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working RDS transferred
Projects
None yet
Development

No branches or pull requests

4 participants