Lee Briggs
03/24/2022, 9:16 PMflow.register("pulumi_test", set_schedule_active*=False*)
it sets the flow to only run locally. More in 🧵Kevin Kho
03/24/2022, 9:19 PMLee Briggs
03/24/2022, 9:25 PMYou also then need to store the Flow somewhere the ECS task can pull itOkay, I think that's the missing piece I've defined some run configuration like so:
flow.run_config = prefect.run_configs.ECSRun(image="pulumi/pulumi:latest", labels=["ecs", "fargate"])
but it keeps adding the local hostname label when I run the code locallyKevin Kho
03/24/2022, 9:28 PMLee Briggs
03/24/2022, 9:29 PMKevin Kho
03/24/2022, 9:29 PMprefecthq/prefect
, which might reduce the number of possible errors