stacker
stacker copied to clipboard
Support different `profile` for `upload_lambda_functions` hook
We have a multi-account setup and want to upload lambda code to a bucket in a different account where the stack will execute.
Is it possible to add the ability to pass a profile to the upload_lambda_functions
function and then pass it to the get_session
call https://github.com/cloudtools/stacker/blob/master/stacker/hooks/aws_lambda.py#L569
I can do a PR for this if it helps? (And my proposed solution is correct?)