Is there any way to run workspace on scheduled time (like cron)?

Is there any way to run workspace on scheduled time (like cron) using TFC? Actually I want to take Azure snapshot on every 2 days.

Hi @murali_thangavel,

Terraform Cloud itself does not offer scheduled runs, but you can use the Create a Run API operation to start a run for one of your workspaces programmatically, so you could perhaps use a work scheduler offered by your chosen cloud platform to arrange to call that API.

However, creating snapshots doesn’t seem like a task that Terraform is well-suited for. Terraform is intended for managing long-lived infrastructure objects that get modified in-place, rather than for creating artifacts like snapshots which are immutable after you’ve created them. In this case it would probably be simpler to use the Azure API directly to create the snapshots, rather than using Terraform.