How it helped to eliminate confusions in code — In my work, we use AWS SAM template to define the serverless architecture in DEV, QA and PROD AWS accounts/environments. The template file in this architecture contains the definition of all lambda functions, lambda permissions, apis, event source mappings etc. Now there were some common environment variables being used across…