scalr_workspace_run_schedule

Resource: scalr_workspace_run_schedule

Allows workspace admins to automate the configuration of recurring runs for a workspace.

Example Usage

resource "scalr_workspace_run_schedule" "example" {
  workspace_id     = "ws-xxxxxxxxxx"
  apply_schedule   = "30 3 5 3-5 2"
  destroy_schedule = "30 4 5 3-5 2"
}

Schema

Required

  • workspace_id (String) ID of the workspace, in the format ws-<RANDOM STRING>.

Optional

  • apply_schedule (String) Cron expression for when apply run should be created.
  • destroy_schedule (String) Cron expression for when destroy run should be created.

Read-Only

  • id (String) The ID of this resource. Equals to the ID of the workspace.

Import

Import is supported using the following syntax:

terraform import scalr_workspace_run_schedule.example ws-xxxxxxxxxx