Is there a way to provision automations as code? I...
# prefect-community
e
Is there a way to provision automations as code? Ideally I’d like to check mine into source control and use CI/CD to deploy them
k
Yes but you’d need to write the code to deal with the GraphQL API. I don’t have a good example but you could use the
create_flow_sla_config
e
Awesome, thanks. I’ll take a look
I think Kevin gave the right answer to the question asked here, but my question was wrong. I was interested in deploying cloud hooks as code. That is definitely possible via the graphql API. Future readers would need to look at the
create_cloud_hook
mutation