A pre-built, versioned application environment with dependencies installed (003 T010, FR-008).
defmodule MyApp.SandboxTemplate do
use AshSandbox.TemplateTemplate,
data_layer: AshPostgres.DataLayer,
domain: MyApp.Sandboxes,
repo: MyApp.Repo,
table: "sandbox_templates"
endRead-only source for new sandboxes. Templates are built by each stack's
adapter (009-FR-053–FR-057) with dependencies already compiled, so
provisioning installs nothing (003-FR-008).
What this resource contributes is knowing what exists, so provisioning can fail naming a missing template rather than starting an empty environment.