https://prefect.io logo
#prefect-community
Title
# prefect-community
e

Eddie Atkinson

04/05/2022, 3:39 AM
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

Kevin Kho

04/05/2022, 4:36 AM
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

Eddie Atkinson

04/05/2022, 8:46 AM
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
6 Views