Zack
03/08/2023, 10:21 PMdeployment = Deployment.build_from_flow(
flow=artist_ranker_etl,
name="artist-ranker-deployment",
entrypoint="artist_ranker.main.handler",
)
deployment.apply()
redsquare
03/08/2023, 10:32 PMZack
03/08/2023, 10:42 PMJames Gatter
03/08/2023, 10:51 PMenv
. export
each variable and the function will pick it up during runtime.
In the case of lambda you could store each in AWS SSM, have the function retrieve them using boto3
, export them using os.environ
, then try building and applying your deployment.Zack
03/08/2023, 11:19 PMredsquare
03/08/2023, 11:34 PMZack
03/09/2023, 12:21 AMredsquare
03/09/2023, 12:25 AMZack
03/09/2023, 12:27 AM