fresh-spring-82225
01/31/2023, 9:51 PMlittle-cartoon-10569
01/31/2023, 9:54 PMfresh-spring-82225
01/31/2023, 9:56 PMlittle-cartoon-10569
01/31/2023, 9:57 PMfresh-spring-82225
01/31/2023, 9:58 PMminiature-musician-31262
01/31/2023, 9:59 PMlittle-cartoon-10569
01/31/2023, 10:02 PMorange-policeman-59119
01/31/2023, 11:59 PMpulumi up
to run steps like in AWS' docs: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html#python-package-create-package-with-dependency
e.g.: (pseudocode)
const packageDeps = new command.local.run({
"command": "pip install ... && zip -r ../my-deployment-package.zip . && ...",
"dir": "./function",
});
great-sunset-355
02/01/2023, 1:12 PM.zip
with python several times (depend on packages) so in my case, I prefer building docker images with python instead. Docker build flow is well integrated in pulumi as well.