Build succeeds but backend changes are not deployed
On Amplify console after a push to a connected branch the build goes trough all the steps and there are no errors, the Backend section of the Build tab seems to detect the changes like new storage and so on. But the changes are not deployed to the actual backend, I don't see my new tables on dynamo or new code on lambda. etc. This is happening on all environments. It was working and now all of a sudden it stopped working on all builds.
I might not have all the context behind this question, but I will assume you added the DDB tables with the command
amplify add storage and you can see them now in the config file, I will also assume you created the function using
amplify add function or
amplify update function, if that is the case those changes need to be deployed with
amplify push before then can be used. Once this is created every time there is a change on the function the pipeline should detect them and deploy the updated code.
Check in your amplify console if the resources are defined in there, if that is the case please ignore my answer, if not definitely do a push. I hope this helps!
Yes you are talking about Ampliy CLI and that works, I do that in my dev environment. But then when I push to master I have a webhook to trigger a build on the Amplify Console and then this issue happens, everything builds correctly but the backend is not deployed.
build for CodeCommit backed Amplify website creation via CloudFormation not triggeredasked 3 months ago
Amplify Build Times with React SPAasked 4 months ago
Frontend fails but still updateasked 3 years ago
Amplify - Not able to delete appAccepted Answerasked 5 months ago
Amplify diff deploy: how to only redeploy on changes to a part of a monorepo?asked 3 months ago
AWS Console Build Problemasked 3 years ago
Amplify Console - Deployed app not reflecting most recent build artifactasked 3 years ago
Billing and stored artifactsasked 3 years ago
Build succeeds but backend changes are not deployedasked 3 months ago
Amplify build error "Could not read from remote repository"asked 3 years ago