Skip to content

Conversation

lapups
Copy link

@lapups lapups commented Sep 16, 2025

Issue #, if available:
Script execution failures when region and profile were not specified in two make commands.

Description of changes:
Automated lambda layer configuration to eliminate manual setup steps.

Problems solved:

  • Fixed script execution failures when region and profile were not specified in two make commands
  • Eliminated manual copying of outLayer values
  • Removed need to manually provide Layer ARN

Changes made:

  • Updated Makefile to explicitly specify region and profile parameters
  • Enhanced make layer command to automatically populate the environment.sh file
  • Added functionality to automatically set the 0_LAYER_ARN variable during layer creation

Benefits:

  • Faster development workflow
  • Reduced potential for human error
  • More consistent deployments across different environments
  • Improved developer experience

Testing:

  • Verified make layer command populates environment.sh correctly
  • Confirmed region and profile are properly specified in make commands
  • Tested end-to-end deployment workflow

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

… populate the Layer ARN variable to get rid of manual need to specify outLayer variable
… populate the Layer ARN variable to get rid of manual need to specify outLayer variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant