amplify-backend
amplify-backend copied to clipboard
fix: added static context to clear the .amplify/generated/env Directory before synthesis
Problem
The .amplify/generated/env/ directory is not cleared before deployments, causing outdated/renamed environment files to remain. This can lead to confusion and potential errors when the function's handler code does not match the current environment settings.