⚠️ 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).
# 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 an existing sg_il_reflection_config using its scope ID (project ID, or personal when unscoped):
terraform import sg_il_reflection_config.example 'personal'
mode (String) How the reflection pass is scheduled. Must be nightly (fixed nightly preset), schedule (custom cron in schedule), or manual (on-demand runs only).schedule (String) Cron expression driving the automatic reflection pass. Required when mode is schedule and ignored for nightly and manual.id (String) Identifier of the configuration scope: the provider workspace_id when set, otherwise personal.