-
Notifications
You must be signed in to change notification settings - Fork 822
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
Using "amplify add geo" appears to add the feature but no services are deployed in AWS #13464
Comments
Hey @KingsleyStephens, Thank you for reaching out. From the project identifier it appears the project contains Tried reproducing the issue with the following steps
on the AWS console, observed the resource with env name created Are the reproduction steps similar to the environment geo resources? |
Hi Kethan, In the console image you can see me do an update to the geo resource and do a push. Note that geoplaceIndex81fc0284 appears to update successfully. However, in my geo console for that region you can see that there is another placeIndex that I have created for a previous backend, and not geoplaceIndex81fc0284. I was getting errors in my console when I would do a push that were to do with UI component codegen. However, I resolved those errors by turning off Automatic Form Generation in the Amplify Console. The push experiment I did for the geo update above did not have any of those errors. |
Hey @KingsleyStephens, thank you for the confirmation. Could you remove the geo resource( |
Hi Kethan, thanks for the suggestion to remove the faulty geo resource and add a new one in. A classic "turn it off and back on again" fix. Should have thought of that myself :) When I added a new geo resource and pushed, the location service was created and I can see it in my location services console. Problem solved, thanks! |
Glad to hear you were able to mitigate the issue. Closing the issue, please do reach out to us if this reoccurs. |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.18.1
Amplify CLI Version
12.8.2
What operating system are you using?
Windows 10
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I run "amplify add geo" and follow through the steps to add location search. When I do an "amplify push" I can see Geo and the placeIndex name in the list of resources it says it has deployed. However, when I look at the backend information in the Amplify Console I can see a list of the other three services I have enabled but not Geo. Also in the Location Services Console I can only see the name of a Place Index that I have created previously for another backend and not the one that Amplify is saying it has created. When I try to use the Geo API from JavaScript I get a 404 message saying it cannot find the API URL. I have searched in other regions associated with my account and cannot find the placeIndex service that was supposed to have been created.
Expected behavior
The Geo placeIndex that Amplify says it has created should be visible in the Location Services Console and usable from the Geo API.
Reproduction steps
When adding Geo from a freshly initialised project and empty folder it works as it should.
Project Identifier
05eb17ec0fac728ff3640e0db511ebe8
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: