Hi all! I have a question about managing Prefect ...
# prefect-getting-started
j
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?
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?