terraform-provider-stackgen

sg_agent_schedules (Data Source)

⚠️ Experimental — Lists Guild schedules (sg_agent_schedule). Supports include_provisioned / include_app_only filters for app-managed schedules.

Example Usage

# When to use: List cron schedules for agents/workflows (including app-provisioned
# schedules when include_provisioned is true).
data "sg_agent_schedules" "agent_crons" {
  target_type  = "agent"
  enabled_only = true
}

output "schedule_names" {
  value = [for s in data.sg_agent_schedules.agent_crons.schedules : s.name]
}

Schema

Optional

Read-Only

Nested Schema for schedules

Read-Only: