Why Backstage software templates need design work before the first form
Platform teams usually adopt Backstage software templates to stop developers from waiting on repositories, pipelines and environments that someone must create by hand. A template promises a golden path: a developer fills in a form and receives a working service with the right repository layout, pipeline and infrastructure. The Software Templates feature is a core built-in part of Backstage, listed alongside the Software Catalog and TechDocs in the project's architecture overview, so the hard part is not installing it. The hard part is deciding what each template is allowed to do, on whose behalf, and who answers for the result.
A template is only as safe as the scaffolder actions, permissions and owners behind it. Each step in a template runs an action that can create a repository, write a pipeline file, call a cloud API or register a component in the catalog, and each action runs with credentials. Those credentials, the identity that triggers the run, and the team that owns the template determine what a developer can create and who gets paged when it breaks. Before writing the first form, the team should inventory every action a template will call, the token scope each one needs, and which group approves changes to the template itself.
A form plus a repository skeleton is the easy version. The harder version has to survive drift, ownership changes, upgrades and credential rotation. Skeletons go stale as standards change, so generated services diverge from the template that created them. Templates outlive the people who wrote them, so ownership must be recorded in the catalog and reviewed. Backstage releases move monthly on the main line, and template code depends on scaffolder APIs that change between versions, so template tests belong in the upgrade routine. Ask your platform team to confirm which Backstage version it will pin, who reviews template changes, and how generated services will receive fixes after creation.
Which Backstage parts a golden path touches
A golden path is only as dependable as the parts behind it. Each template run passes through the template definition, the scaffolder, any custom actions, the catalog, TechDocs and the identity layer, and each of these needs deliberate configuration by the template author.
Template definition and parameters
A Software Template is a YAML file that declares the form a developer fills in, the parameters it validates and the ordered steps the scaffolder runs. Template authors decide which fields are required, which values come from fixed lists, and which inputs flow into repository names, pipeline settings and infrastructure variables. Check that every parameter is used, that defaults are safe, and that the template version is tracked in the same repository as the skeleton it generates.
Architecture overviewScaffolder and built-in actions
The scaffolder executes each step in a template, using built-in actions to fetch skeleton content, publish a repository and register outputs. Template authors must confirm which built-in actions are enabled, what each one can write to, and which provider tokens it uses. Test each action against a sandbox organization before a template is published, because a failed step can leave a half-created repository that someone has to clean up by hand.
- Main release cadence
- Monthly
Custom scaffolder actions
Organization-specific steps, such as requesting a cloud account, creating a secret store path or opening a ticket, need custom scaffolder actions. These are a dependency of the golden path rather than a separate product, and they carry the same upgrade and security obligations as the rest of the app. Authors should document each action's inputs and outputs, limit what it can change, and confirm with the platform team who owns it when the Backstage version changes.
Software Catalog registration
The publish step should register the new component in the Software Catalog so its owner, system and lifecycle appear from the first commit. Template authors need to set the catalog-info.yaml contents in the skeleton, including the owner reference that the catalog expects. Without this step, teams end up with repositories no one can find, and ownership questions reach the platform team instead of the service owner.
Architecture overviewTechDocs for generated documentation
Templates can seed a docs folder with an MkDocs configuration so that TechDocs builds documentation for the new service automatically. Authors must make sure the generated mkdocs file, the docs directory and the catalog annotation all point to the same location, and that the publisher the organization uses can store the built output. Check the first build after a test run, since a broken docs skeleton is easy to miss in the form itself.
Authentication and identity sources
Who can run a template depends on the sign-in provider and the resolver that maps each user to a catalog identity. Template authors and platform owners should confirm that group membership from the identity provider reaches the catalog, that template-level access rules use those groups, and that guest access is off in production. A template that anyone can run is a provisioning path, so the identity setup is part of the template design, not a separate concern.
Backstage authenticationHow template scope changes the design
A service template creates a new repository from a skeleton, fills in service metadata, registers the component in the catalog and sets up a CI pipeline so the first commit builds and deploys. Parameters usually cover the service name, owning team, language or framework, runtime target and whether the service exposes an API. The actions are mostly repository creation, file templating, a catalog registration step and a call to the CI system's API to enable the pipeline. The approval path is often lightweight, since the repository owner is the requester, but naming rules and team membership checks should still run before anything is created. The typical failure point is the CI handoff: the repository exists, but the pipeline never runs because a token lacks scope or a required variable is missing.
- Parameters: service name, owner group, language, runtime, and API or no API flag, each validated against the naming rules you publish.
- Actions: repository creation from a skeleton, templating of files, catalog registration, and pipeline enablement through the CI API.
- Approval path: usually self-service for the requesting team, with checks that the owner group exists and the name is free.
- Failure point: a partial run where the repository is created but the pipeline or catalog entry is not, so add cleanup or a rerun path.
- Credentials: confirm which token the scaffolder uses to call your source control and CI systems, and that it is scoped to what the template needs.
Confirm your CI provider's API behavior, token scopes and template repository conventions with your own platform team before you commit to this design.
A repository plus infrastructure template goes further: it creates the repository and also provisions cloud resources such as a database, storage bucket, queue or Kubernetes namespace. Parameters need to cover environment, region, sizing choices and data classification, because those values decide what gets created and who must approve it. The actions call infrastructure tooling, which may be a pipeline that applies infrastructure as code, a cloud API, or a request to a provisioning service, and each action needs its own identity and error handling. The approval path should be explicit: infrastructure that costs money or holds regulated data typically needs a reviewer from the platform or security team before apply. The typical failure point is state and drift: the scaffolder reports success while the infrastructure change is still pending, or a retry creates a duplicate resource.
- Parameters: environment, region, resource size classes from an approved list, and data classification.
- Actions: repository creation, infrastructure request or apply through your IaC pipeline, and secret or configuration wiring for the new service.
- Approval path: a review step before apply for production or regulated data, implemented as a Backstage review action or a gate in your pipeline.
- Failure point: asynchronous provisioning, where the template finishes before resources exist, and retries that duplicate resources, so make actions idempotent.
- Permissions: the scaffolder identity should hold only the rights each cloud action needs, with no standing administrative access.
Confirm your cloud accounts, IaC tooling and approval tooling with the teams that own them, since these integrations differ widely between organizations.
A documentation or catalog-only template creates no runtime infrastructure. It might scaffold a TechDocs site, a catalog descriptor for an existing system, an API specification stub or a runbook page. Parameters are mostly metadata: the entity name, owner, lifecycle stage, system relationship and documentation sections. The actions are repository or file creation, templated Markdown, and catalog registration, which makes this the simplest shape to build and the easiest to ship first. Approval is often unnecessary for the requester, but the catalog owner should still check that the new entity does not duplicate an existing one. The typical failure point is ownership drift: entities get registered with owners who have left the team, or with lifecycle values nobody maintains, so the catalog looks complete while being stale.
- Parameters: entity name, owner group, lifecycle stage, parent system and the documentation sections to generate.
- Actions: templated files, catalog descriptor creation and a documentation skeleton that TechDocs can build.
- Approval path: generally self-service, with a duplicate-name check and a validation pass on the descriptor before registration.
- Failure point: stale owners and lifecycle values, which you can reduce by requiring a group reference that exists in the catalog.
- Governance: decide who may register entities in shared systems, since a catalog-only template can still add noise to the portal.
Confirm how your catalog ingests descriptors and how TechDocs builds are run before you assume this shape needs no further review.
Which template decisions to settle before building
This table compares the five decisions that shape a Backstage template estate: where definitions live, which actions to use, how many templates to maintain, whether a review step gates execution, and who owns each template. Read each row against your own team size and change rate, then settle the choices in writing before the first template is built, because changing them later means moving templates and the trust teams place in them.
| Decision | When it fits | What it costs you operationally |
|---|---|---|
| Definition location: central repository | One platform team sets standards and few teams author templates | Every change to a shared template needs platform review, which can slow team-specific needs |
| Definition location: per-team repositories | Teams have distinct stacks and their own release cadence | Standards drift and you need a process to audit and roll out fixes across many repositories |
| Built-in scaffolder actions | Fetching skeletons, publishing to a Git host and registering in the catalog cover the need | Lower upkeep, but you depend on upstream action behavior across monthly releases |
| Custom scaffolder actions | Provisioning steps call internal APIs, cloud accounts or ticketing systems | You own the code, its tests, its credentials and its compatibility with each Backstage upgrade |
| One template per golden path | Paths differ in structure, pipelines or approvals | More templates to maintain, but each stays simple to review and test |
| Parameterized variants in one template | Paths share most steps and differ by a few choices, such as language or region | Conditional logic in the template grows harder to read and to test as options are added |
| Review step before execution | Output creates shared infrastructure, cost or access that needs sign-off | Requests wait for approvers, so define who approves and the expected response path |
| Automatic execution | Output is low risk and fully constrained by parameters and policy | Mistakes reach production faster, so input validation and action limits must be strict |
| Template owner per template | Each template has a named team accountable for its content and fixes | Ownership must be recorded in the catalog and kept current as teams change |
| Shared platform ownership only | A small platform team owns every template | Domain teams cannot fix their own paths, which creates a queue for the platform team |
Build sequence for a governed golden path
This sequence takes one golden path from a pilot idea to a published Software Template that teams can run from the Backstage catalog. Each step closes with a check, so the pilot proves the path works before any template is offered broadly.
Define the golden path and its owner
Name the single workload the path produces, such as a service with a repository, pipeline, deployment target and catalog entry, and the team that owns the template. The platform team writes a short scope note listing what the path includes, what stays manual, and who approves changes to it. The step closes when the owner signs off on the scope note and the list of exclusions is agreed with the first pilot team.
Write the parameter form with validation
Translate the inputs a developer must supply into the parameters schema of a Software Template, such as component name, owning group, language and environment. Add validation rules, allowed values and defaults so that bad input fails in the form rather than in a later pipeline run. Ask the security and platform leads to review which fields reach shared infrastructure. The step closes when the form renders in a development Backstage instance and rejects a set of deliberately invalid inputs.
Select or write the scaffolder actions
Inventory the built-in scaffolder actions and the actions your organization already maintains, then decide which steps need custom actions, such as registering a repository in your source control host or provisioning a namespace. Custom actions should be small, documented and covered by tests, and their credentials should be scoped to the minimum they need. Confirm the exact action names and inputs against the version of Backstage you run. The step closes when each action in the template runs successfully against a sandbox account.
Wire repository and pipeline creation
Connect the template steps that fetch a skeleton, render its files, create the repository, and commit the pipeline definition and deployment configuration. Keep the skeleton free of secrets and reference secret stores by name. Set repository visibility, branch protection and required checks in the template so they are not left to the developer. The step closes with a dry run that creates a repository from the form, and that repository's first pipeline run completes with a passing build.
Register the new component in the catalog
Add a catalog-info.yaml file to the skeleton, or a registration step, so the new component appears in the software catalog with its owner, system, lifecycle and links to the repository and pipeline. Ownership must map to a group the identity provider actually populates. The step closes when the component appears in the catalog with the correct owner, and a catalog entity lookup by name returns the expected metadata.
Add a TechDocs skeleton
Include a documentation folder with an index page, a mkdocs configuration and a short runbook template in the skeleton, so every generated component has documentation that TechDocs can build. Check that the component metadata points to the docs location. The step closes when the generated docs build and render on the component page in the catalog.
Add the review step and approvals
Insert a review step before repository creation that shows the rendered parameters and the actions that will run, and requires named approvers for paths that touch production or shared resources. Record who approved each run in your audit trail. Confirm how your Backstage version handles approval steps and where the permission rules for templates are enforced. The step closes when a run without approval stops at the review step and an approved run completes with the approver recorded.
Pilot with one team, then publish
Run the path with one team on a real but low-risk service, collect failures and form feedback, and fix the skeleton, actions and form before widening access. Publish the template to the wider catalog only after the pilot team's component builds, deploys and appears correctly, and after the owner signs off on the change log. Schedule a review of the template before each Backstage upgrade, since template and action changes can break on version bumps. The step closes when the pilot component passes its pipeline, the template is published, and the owner has recorded the release.
When custom scaffolder actions are worth writing
Write a custom scaffolder action only when a template step must reach a system that the built-in actions cannot call safely or consistently. Common cases are provisioning internal cloud accounts or projects, calling an internal service registry to reserve a name or ID, enforcing organization naming standards before anything is created, and triggering infrastructure through a pipeline or provisioning API. If the step can be expressed with the existing fetch, publish and repository actions, keep it in the template. A custom action adds code that your platform team owns, tests and upgrades for as long as the template exists, so the bar should be a specific control or system integration that a template cannot express on its own.
Design each action as a small contract. The input schema should be explicit and validated, with every field the template form supplies declared once, and the output should return only the values later steps need, such as an account ID, a repository URL or a registry identifier. Make the action idempotent: a retry after a timeout must find the resource created by the first attempt and return it, not create a duplicate. Decide up front which errors are retryable and which should stop the run with a message the requester can act on, because the scaffolder shows failures to developers who cannot read your backend logs. Keep each action to one external call or one clear responsibility, and write unit tests against a stubbed client so the logic can be verified without touching real accounts.
Action code is part of your Backstage application, so it must survive upgrades. Keep actions in a plugin or module you control, depend only on the public scaffolder action APIs, and avoid importing internal Backstage modules that can change between releases. Ask your team to confirm which scaffolder API version your installed release uses and to add an upgrade test that runs a representative template end to end. Each custom action also needs an owner, a documented input contract and a removal plan, so that a template can be migrated when the underlying service changes.
What drives the effort of golden path templates
This table lists the factors that move the build and upkeep effort of Backstage software templates, with why each one matters and how to keep it contained. Read it before scoping, because each row maps to a question you can ask in a fixed-scope quote. The main takeaway is that a few well-scoped templates with shared actions cost far less to maintain than many templates that each wire up their own systems.
| Driver | Why it moves effort | How to keep it down |
|---|---|---|
| Number of golden paths | Each template has its own form, skeleton, parameters and tests, so effort grows with every path added and every path must be kept current across Backstage upgrades. | Start with the one or two paths teams request most often, and retire paths nobody uses before adding new ones. |
| Number of target systems | Every system a template writes to (source control, CI, cloud accounts, ticketing) needs credentials, API calls, error handling and a test path. | Limit each template to the systems it truly needs and keep integration logic in shared actions rather than in each template. |
| Custom scaffolder action count | Custom actions are code the platform team owns, must be tested against each Backstage release, and need permission and input validation. | Reuse existing built-in actions where they fit and consolidate similar custom actions into one tested module. |
| Approval and compliance requirements | Review steps, evidence capture, policy checks and audit logging add workflow logic and require agreement from security and compliance owners. | Agree the required controls early, map each one to a single step, and avoid adding approvals that duplicate controls already enforced in CI or cloud policy. |
| Number of environments | Each environment (development, test, production) can need separate accounts, secrets, network paths and parameter defaults that the template must handle. | Parameterize environment values in one place and generate environment configuration from the same template logic instead of forking templates. |
| Template reuse across teams | Templates shared by many teams need stricter input validation, clearer documentation and a support path, while team-specific forks multiply upkeep. | Publish one maintained template with documented parameters and let teams set options through inputs, not copies. |
| Ownership and support model | Someone must own each template, review changes and answer questions after launch, which is recurring work that a build quote can understate. | Name a template owner per path and ask the quote to state who maintains templates after handover and for how long. |
How the deployment model changes template operations
A single-node evaluation runs the Backstage backend and frontend on one machine, usually with SQLite as the database and a local development configuration. Templates run inside that one process, so the scaffolder action steps, the working directory and any tokens it reads come from the developer's own environment. This is useful for proving that a form produces the right repository, but it hides the production questions about who holds credentials and where jobs run.
- Execution: Scaffolder tasks run in the single backend process, so a slow or failing action can block the evaluation without any queueing or isolation.
- Credentials: Tokens often come from a developer's personal account or a
.envfile, which must not carry over to a shared deployment. - Database: SQLite holds task state locally, so task history and retries are not representative of PostgreSQL behavior.
- Testing: Run templates against a throwaway organization or sandbox project, and record every repository and pipeline a test run creates so cleanup is possible.
- Authentication: Guest access is commonly enabled here, so confirm that the sign-in configuration is replaced before any shared use.
Confirm with your platform team which parts of this evaluation, such as the token scopes and the sandbox accounts, will be discarded rather than promoted.
A production deployment usually runs several backend replicas against a shared PostgreSQL database, so a template task may be picked up by any replica. Scaffolder state, task logs and catalog registration all live in the database, which means a replica restart can change which process continues a task. Credentials must be available to every replica in the same form, and the team must decide which replica performs which scheduled work.
- Execution: Confirm that task execution and retries behave correctly across replicas and that a restart does not leave repositories half created.
- Credentials: Store integration tokens in a secrets system that every replica can read, with one scope per template action where the provider allows it.
- Database: Each backend plugin uses its own logical database through Knex, so back up and restore those databases together.
- Testing: Add a staging environment with the same replica count and database engine, and test a template run while a replica is stopped.
- Scheduling: Check how scheduled tasks are coordinated across replicas, since duplicate catalog or template jobs are a common source of noise.
Confirm the replica count, the database backup schedule and the scheduled task coordination method with the engineers who will run the deployment.
A Kubernetes-hosted deployment packages Backstage as containers, so template actions execute in pods with their own service accounts, network policies and resource limits. Credentials usually arrive as Kubernetes secrets or from an external secrets operator, and the cluster's network rules decide which source control, cloud and registry endpoints a template can reach. Pod restarts, autoscaling and rolling upgrades therefore become part of template behavior.
- Execution: Scaffolder steps that call CLI tools need those tools in the container image, so image contents determine what a template can do.
- Credentials: Mount secrets with the narrowest access the pod needs and rotate them without rebuilding images.
- Network: Network policies may block a template from reaching a provider API, which appears as a timeout rather than a clear permission error.
- Testing: Run template tests in a namespace that mirrors production policies, and include an upgrade of the image in the test cycle.
- Resources: Set limits so one long-running template action cannot starve the portal's API pods.
Confirm with your cluster team which egress rules, secret mechanisms and image registries apply to the Backstage namespace before you finalize template actions.
In an air-gapped network, template actions cannot reach public source control, public package registries or hosted pipeline services. Any repository creation, dependency download or container build must use an internal mirror or an internal source control instance. Templates written for public providers may fail on the first step, so the template catalog, the action set and the dependency sources all need to be designed for the internal environment.
- Execution: Every action that calls an external service needs an internal endpoint, and the template must reference that endpoint explicitly.
- Credentials: Tokens for internal providers must be issued and rotated inside the enclosed network, with an offline process for renewal.
- Dependencies: Packages, base images and Backstage plugin updates must be imported through an approved transfer process before they can be used.
- Testing: Test templates against the internal provider and mirror, and keep a record of which versions were transferred for each release.
- Upgrades: Plan the upgrade path around transfer cycles, since security fixes must reach the enclosed network through the same import process.
Confirm with your security and network teams which internal providers, mirrors and transfer procedures exist before choosing template actions.
How to keep template execution and credentials safe
A software template can create repositories, pipelines and cloud resources under someone else's identity, so it carries the privileges of its integrations. The six controls below cover who can run and change templates, what the scaffolder can reach, how tokens are scoped, and how created resources stay traceable.
Restrict who runs and edits templates
Separate two permissions: running a template and changing its definition. Anyone who can edit a template can change what it creates, so edit rights should sit with the platform team, while run rights can be granted by group. Confirm in the permission framework that these are distinct policies, and test them with a non-admin account from each team that will use the golden path.
Authentication docsLimit what scaffolder actions reach
Built-in and custom scaffolder actions run with the backend's network and credential reach, not the caller's. Inventory every action each template uses, remove unused custom actions, and confirm that none can call arbitrary URLs or read files outside the template workspace. An action that publishes to an internal API should accept only the values its template defines.
Scope integration tokens tightly
The token that creates repositories and pipelines is the most sensitive credential in the portal. Use a dedicated bot identity per provider with the narrowest scopes that still create repositories in approved namespaces, and rotate it on a schedule. Ask who can read the token from the backend configuration and whether it appears in logs or template outputs.
Keep secrets out of parameters
Form fields are stored in the scaffolder task history and may be echoed in logs or pull request descriptions. Do not collect passwords or API keys through template parameters. Have templates reference secrets by name from the backend's secret store, and check that task outputs and catalog entries contain identifiers only, never values.
Trace every created resource
Each repository and pipeline a template creates should carry the template name and version, the requesting user, and the owner set in the catalog. Without these links, you cannot answer which template produced a resource or who asked for it. Confirm that scaffolder task records are retained long enough for your audit needs, and that the retention setting is documented by your team.
Review template changes as code
Store template definitions in version-controlled repositories with required review by the platform team and automated checks for dangerous actions. Changes that widen permissions, add actions or alter the token used should need a second approver. Tag each release of a template so a team can see which version generated a given repository.
Versioning policyHow to govern templates after they go live
Every template needs a named owner in the catalog before anyone can use it. In Backstage, a Software Template is itself a catalog entity of kind Template, so ownership is recorded the same way as for services: an spec.owner field that points to a group or user, plus tags or annotations your team defines for lifecycle state, such as whether a template is current, deprecated or retired. Ownership metadata does more than assign blame. It tells platform engineers who must approve a change, tells consumers who to ask when a template misbehaves, and makes it possible to find every template a team is responsible for. Confirm with your own catalog design which fields and tags your organization will require, and whether your ingestion setup rejects entities without an owner. The labels for lifecycle states are conventions you choose, not built-in Backstage states.
Treat the review step as two separate controls. The first is a gate on creation: a review step in the template's form flow, where a human confirms the inputs and the resulting repository, pipeline or infrastructure request before it runs. This protects against a single consumer triggering something unexpected. The second is review of the template source itself, meaning the YAML definition, the skeleton files, and any custom scaffolder actions. Changes to that source should go through the same pull request and approval process as application code, with the owning group as required reviewers. Keep these reviews distinct, because a form review cannot catch a flawed template, and a source review does not check what an individual user submitted. Decide who may merge template changes and who may run new templates in production, and write both answers down.
Plan versioning and retirement before the first deprecation, not after it. Consumers need a clear signal that a golden path is changing and a route to the replacement. Use a version or lifecycle field in the template metadata, announce deprecations in the catalog and in your documentation, and keep the retired template discoverable for long enough that teams can finish migrating. Teams find templates through the catalog and the Software Templates page, so a retired template should be marked clearly there and link to its successor. Ask the owners of any services created from an old template which conventions, pipelines or base images changed, because an upgraded template does not update existing repositories on its own. Test the migration path with one real consumer before you retire the old version.
How a template run moves from form to catalog
A run starts when a developer submits the template form in the Backstage portal, and Backstage authenticates that user before any action executes. The scaffolder then runs its actions in order: fetching the skeleton, creating the repository, creating the pipeline, and provisioning infrastructure through a custom action that calls systems outside Backstage. An optional review gate can hold the run before registration. Check the boundary where the scaffolder hands credentials to external systems, because that is where scope and secrets need the most scrutiny.
Template run path from form submission to catalog registration, with the external trust boundary.
How to verify a template works and fails safely
Verify a template in layers, and treat the failure paths as part of the test plan rather than an afterthought. Start with dry runs against a sandbox organization that mirrors your real GitHub or GitLab group structure, catalog provider and cloud accounts, but holds no production data or live owners. Run the template end to end with valid inputs, then with deliberately bad ones: a repository name that already exists, a owner value that is not a known group, a region outside the approved list. Each rejected parameter should stop the run at the form with a clear message, before any action executes. Confirm this by checking the sandbox for stray repositories, pipelines and cloud resources after each run. Custom scaffolder actions need their own unit tests, because a dry run only shows that an action ran, not that it handles edge cases. Test each action with mocked external clients, covering timeouts, partial API responses and permission errors. Keep these tests in the same repository as the plugin so they run on every Backstage upgrade, since changes to the scaffolder API can break actions silently.
Verify the output, not just the run status. A green scaffolder task only proves the steps completed. Check that the generated repository builds from a clean clone, that its CI pipeline runs to completion on the first commit, and that the deployed resources match the template's documented defaults. Then confirm catalog registration: the new catalog-info.yaml should appear in the catalog with the expected kind, lifecycle, system and owner, and the owner should resolve to a real group that your identity provider populates. An owner that does not resolve is a common silent failure, because the component exists but nobody receives its alerts or review requests. Decide in advance who signs off on a template version, and record which sandbox run produced that sign-off.
Test failure as deliberately as success. Force a failure in the middle of the template, such as a failed repository push after the cloud resource was created, and inspect what remains. Your template should either roll back the earlier steps or leave a clearly named, tagged set of resources that a cleanup job can find. Orphaned resources are the usual cost surprise in self-hosted platforms, so ask your team to write down, for each action, what it creates and how it is removed. Also check that the failure output does not print tokens or secrets into the task log, and that a retry does not duplicate resources. Repeat this review whenever a template or action changes, because the rollback behavior is usually the first thing lost in a refactor.
What to monitor, back up and document after launch
A template catalog keeps changing after launch because pipelines fail, action dependencies age and Backstage itself ships new releases. The items below show what to watch, what to keep current and who on the platform team or template owners should own each one.
Template run success and failure
Track how often each template run completes, where it stops and which form inputs trigger failures. Review failed scaffolder tasks weekly in the Backstage task view, grouping them by template so a single broken template is visible rather than hidden in aggregate noise. A rising failure rate after a change usually points to a template edit, a new required input or an upstream API change. Owner: the platform team, with each template's named owner reviewing its own failures.
Custom action errors
Custom scaffolder actions run code that calls repositories, pipelines, cloud APIs or ticketing systems, so their errors are the most likely cause of partial runs. Log each action's inputs, outcome and external identifiers, and confirm that a failed action leaves no orphaned or half-configured resource behind. Keep the error messages specific enough that a template user can tell whether to retry or escalate. Owner: the team that wrote the action, with the platform team reviewing error patterns.
Orphaned resources
A run that fails after creating a repository, project or cloud resource leaves something behind that no catalog entry points to. Check periodically for repositories, pipelines and infrastructure created by templates that have no matching catalog component, and for catalog components whose source resource was deleted. Decide in advance whether cleanup is automatic, manual or left to the owning team. Owner: the platform team, with resource owners confirming deletions.
Template ownership and review currency
Every template should name an owner in the catalog and carry a date of its last review against the organization's current standards for security, naming and required tooling. Templates with no owner or no recent review are the first to drift from policy. Set a review cadence per template tier, and remove or deprecate templates whose owner has left. Owner: the platform team maintains the register, and each template owner signs off on reviews.
Dependency updates for custom actions
Custom actions and templates pin their own libraries, SDK versions and Backstage packages. Backstage ships a main release line monthly and a next line weekly, and its versioning policy backports high and critical vulnerability fixes to releases from the last 6 months where feasible. Plan a recurring window to move @backstage packages together with yarn backstage-cli versions:bump, then retest every template against a staging instance before production. Owner: the platform team for Backstage and shared actions, with action owners for their own dependencies.
- Main release line
- Monthly
Template catalog documentation
Each template needs a short record of what it creates, which inputs are required, which actions it calls, which external systems it touches and how to recover from a failed run. Keep this documentation in TechDocs beside the template, and update it in the same change that modifies the template. Without it, new template owners cannot tell whether a failure is a bug or an expected outcome of a policy. Owner: each template owner, with the platform team checking completeness during review.
Architecture overviewWhat teams ask before building golden path templates
How much effort does a first golden path template take to build?
The effort depends mostly on how many steps the template automates, not on the Backstage code itself. A first template that only creates a repository from a skeleton and registers it in the catalog is a small job. A template that also creates a CI pipeline, provisions cloud resources, sets branch protection and adds ownership metadata involves more systems, more credentials and more review. The main drivers are the number of target systems, how standard your existing service setup is, and how many teams must agree on the default configuration. Ask any partner for a written breakdown of each step, the systems it touches and the people who must approve the design before build starts.
Can our own engineers build Backstage templates without outside help?
Yes, if you have engineers who already know the platform's source control, CI system and infrastructure-as-code tooling and can write TypeScript or YAML against the Backstage scaffolder. Templates are declarative files, so a team with a Backstage app already running can often produce a simple first template internally. The harder work is usually the governance around it: deciding who owns each template, how changes are reviewed and how the template is tested before teams use it. Outside help tends to matter most when the template must call several internal APIs or when the team has no one who has run a Backstage upgrade. Confirm skills against the specific steps in your design before deciding.
What access and people do we need to provide for template work?
Template work needs decisions and access from several groups, and missing any one of them slows the first pilot. Expect to provide:
- Platform owners who can approve the golden path standard and its default settings
- Source control administrators who can create a service account, grant repository creation rights and set branch protection rules
- CI and deployment administrators who can define pipeline templates and secrets scopes
- Cloud account owners who can grant a scoped role for any provisioning step, in a non-production account first
- Security reviewers who will check which credentials the scaffolder holds and which actions it may run
Agree on who signs off each of these before the first build sprint so that access requests do not hold up the work.
How long does it take to reach a first template pilot?
The time to a pilot depends on the drivers, not on a fixed duration. The longest items are usually approvals and access: source control permissions, cloud roles, secrets and the review of which service accounts the scaffolder will hold. Next come the standards decisions, such as naming, default pipeline stages, required metadata and which teams are in the pilot group. The build of the template itself is often the shortest part once those are settled. If you have a running Backstage instance with authentication and a catalog in place, the pilot path is shorter. If the portal itself is still being set up, plan the pilot around that foundation. Ask for a dated plan that lists the external dependencies separately.
How do golden path templates stay current after Backstage upgrades?
Templates need upkeep because the Backstage packages they depend on change over time. Backstage ships a main release line monthly and a next line weekly, so a template that works today may need small adjustments after an upgrade. The project's upgrade guidance moves all @backstage packages together with yarn backstage-cli versions:bump, and the Backstage Upgrade Helper shows template changes between versions. Your own template code and any custom actions also need tests that run after each upgrade. Plan for a recurring owner for the template set, a test suite that scaffolds each template into a sandbox, and a review step before each Backstage version is adopted. Upgrade work is covered in more detail in the upgrades and support topic.
When do we need custom scaffolder actions for golden paths?
You need a custom scaffolder action when a template step must do something the built-in actions cannot do, such as calling an internal provisioning API, registering a resource in a system you run, or enforcing a naming rule your organization requires. Many first templates can be built with the standard actions for fetching a skeleton, publishing to a repository and registering a catalog entity. Each custom action adds code to maintain, a test to keep and a credential to scope, so keep the count small and give each one a clear owner. Limit what each action can call and which secrets it can read. Design these limits with your security reviewer before the action reaches production.
What makes a template governance process hold up over time?
A governance process holds up when every template has a named owner, a review step for changes and a recorded list of what it provisions. Without that, templates drift from the standard and teams fork them quietly. Practical controls include a pull request review by the platform team for template changes, required metadata that ties each generated service to an owning team, a published list of the credentials each template uses, and a retirement process for templates no one maintains. Decide who can publish a new template and who can change a shared one, because those two rights carry different risk.
How DeployOpen works on this
DeployOpen plans, builds, documents and supports Backstage software templates inside your own infrastructure, so the template catalog, pipelines and scaffolder actions run in your accounts and under your review process. Each engagement starts from a written scope that defines which golden paths are covered, who approves them and how they are tested before release.
How we scope
- Inventory the services, languages and deployment targets that the first golden paths must cover.
- Agree in writing which repositories, pipelines and infrastructure resources each template creates.
- Define the template governance model, including who reviews changes and who approves new scaffolder actions.
- Confirm the identity provider, Git host and cloud accounts the templates will call before any build starts.
How we build
- Write templates with parameter forms, validation rules and clear defaults that developers can complete without platform help.
- Build custom scaffolder actions with narrow permissions, input validation and logging for every external call.
- Add review steps so a platform owner checks generated repositories and infrastructure changes before they are created.
- Test each template end to end in a non-production environment, including failure and rollback paths.
How we hand over
- Document each template's inputs, generated outputs, owners and the approval path for changes.
- Deliver the template source, action code and configuration in your own version control repository.
- Run a walkthrough with your platform and security teams so they can add or change templates themselves.
- Provide a short runbook covering template upgrades, action failures and removing a template from the catalog.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing of templates are available as a retainer.
- Upgrade work tracks the Backstage release line you run, so template and action changes are reviewed against each release.
- Ask any quote to state which templates, actions and review steps are included and which are excluded.

