Hi #prefect-cloud - what is the correct way to go about environment variables? Can I somehow pass them to my deployment? Or what is the “best practice” approach here? Btw I’m using a Docker container as infrastructure
11/08/2022, 7:10 PM
Hi Jesper. Assuming you want to use the values in your Flow, the best practice is to put them into a block of type JSON, Secret, Date Time, or String.
Jesper Bruun Hansen
11/08/2022, 7:13 PM
Ah, so I create that Block in Cloud UI, pass in the value from here, and then reference the Block with name from my Code -right?
11/08/2022, 7:17 PM
Yep, you can create a block in the Cloud UI or via code. See more here.