terraform-provider-stackgen

sg_il_reflection_config (Resource)

⚠️ Experimental — This resource is part of the Guild platform and may change in future releases.

Manages the Institutional Learning reflection schedule for one scope. Reflection turns captured session learning into reviewable recommendations, and is off by default (mode = "manual") until a workspace opts into an automatic cadence.

When provider workspace_id is set, the schedule applies to that workspace; otherwise the personal namespace is configured.

This is a singleton per scope: destroying the resource resets mode to manual rather than deleting anything. Deployments that source the schedule exclusively from static configuration reject runtime updates with HTTP 501.

Import with the scope identifier (the project ID, or personal when unscoped).

Example Usage

# Run Institutional Learning reflection on a custom cron so captured session
# learning lands in the review inbox every night at 03:00. Use mode = "nightly"
# for the fixed platform preset, or mode = "manual" (the default) to keep
# reflection on-demand only.
resource "sg_il_reflection_config" "example" {
  mode     = "schedule"
  schedule = "0 3 * * *"
}

Import

Import an existing sg_il_reflection_config using its scope ID (project ID, or personal when unscoped):

terraform import sg_il_reflection_config.example 'personal'

Schema

Required

Optional

Read-Only