I was implementing `aws-lambda-deploy` pipe in my bitbucket pipeline, but I was not able to find a way to update environment variables of lambda.
We can do it easily while deploying via old method, using boto3 library.
update_function_configuration( FunctionName=functionName, Environment={ 'Variables': { 'environment' : environment, 'NODE_ENV': environment, 'api_url' : api_url } } )
Hello Shubhanshu Chouhan,
Thank you for your feedback!
For now, pipe aws-lambda-deploy implements update code and create/update alias functionality. It's a good suggestion to have update_function_configuration in the current pipe. Will be added in the nearest future.
Feel free to provide us any feedback on your experience with pipes.
Also, we provide an updated page where you can discover and try other available pipes .
Cheers,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.