Hi all! I have a question about managing Prefect Deployments similar to how IaC resources are managed. Is there existing tooling/patterns/examples that will deploy the Deployment in the cloud when it is provisioned in the code and then delete it if it is removed?
Joey Allison
11/07/2023, 2:54 PM
So far what I have found is to have CICD steps perform the teardown of development environments with the deployments explicitly declared in that step. Then for deployments that are being "sunsetted" in production, have a one-time script that is run during the CICD deploy step that will delete explicitly declared Prefect Deployments.
Is there a better way to go about this or would this be considered a standard pattern for automated deletion of Prefect Deployments?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.