-
Notifications
You must be signed in to change notification settings - Fork 825
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
New backend references resources from deleted backend with same name #13613
Comments
@adam-nygate 👋 , thanks for reaching out. Since the issue seems related to the amplify backend environment, I am going to transfer this to the |
Hey, wanted to get some additional information. how was the environment removed was this on the Amplify console or via |
It was removed by the Amplify console |
@adam-nygate thank you for the information. If the backend environment was deleted on console, we will need to remove the env references in the local Amplify cli by |
Closing the issue due to inactivity. Do reach out to us if you require any assistance. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
App Id
d1dsr14iqx52pk
AWS Region
us-east-2
Amplify Hosting feature
Backend builds, Backend environments
Frontend framework
Vue
Next.js version
N/A
Next.js router
N/A
Describe the bug
The backend environment of a new environment references resources from a deleted backend with the same name.
Expected behavior
A new environment should not reference resources from a different environment, even an environment with the same name (that was deleted).
Reproduction steps
main
auth1234abcd
) and deploy it to the backendmain
)auth1234efgh
) and deploy it to the backend (this will succeed)See the logs for the failure details, I.e:
^ note the auth resource being referenced is from the now non-existent environment.
Build Settings
Log output
Additional information
I've tried instantiating the environment from local (i.e
amplify add env && amplify push
) and from amplify-console (setting up the branch and backend connection and then letting automated builds deploy the backend).Initial deploys via the console work but subsequent deploys do not.
Local deploys always work (but don't meet our needs).
I've also verified that the envCache does not have references to the resources by accessing the pre-signed s3 object exposed in the builds env.
The text was updated successfully, but these errors were encountered: