Is there a way to Schedule Recurring plan?


As the title implies would it be possible to schedule recurring plans on a terraform cloud workspace in order to get notifications on slack so that we know no cowboys went and messed manually with the resources?

Thank you!

Hi there!

There is no built-in way with Terraform Cloud to set some sort of schedule with a workspace, but you can easily do this yourself using the Runs API. We do this very thing here at HashiCorp, utilizing a simple cron job to regularly create a run to rebuild some environments on a nightly basis.

Thanks Chris, will give it a try!

Fast forward a few years later, and today’s answer is: sure, you can achieve this with the TFC Drift Detection feature! :slight_smile:

You can even go further with the Continuous Validation feature :heart_eyes:

1 Like