the env files generated for a lambda function in .amplify/generated/env are not cleaned up.
For example if the function was renamed or function was deleted. The env import or sandbox deploy will not throw any error as the file is not cleaned up. The deploy will fail on amplify hosting as the file will not generate.
Environment information
Describe the bug
the env files generated for a lambda function in
.amplify/generated/env
are not cleaned up. For example if the function was renamed or function was deleted. The env import or sandbox deploy will not throw any error as the file is not cleaned up. The deploy will fail on amplify hosting as the file will not generate.Reproduction steps