Installing the Scaffolder Backend Module TeraSky Utils Backend Plugin#
This guide will help you install and set up the Scaffolder Backend Module TeraSky Utils backend plugin in your Backstage instance.
Prerequisites#
Before installing the plugin, ensure you have:
- A working Backstage backend instance
- The Scaffolder plugin installed and configured
- Access to Kubernetes clusters (for claim templates)
- Git repository access (for entity publishing)
Installation Steps#
1. Add the Package#
Install the plugin package using yarn:
2. Add to Backend#
Modify your backend in packages/backend/src/index.ts
:
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
// Add the TeraSky Utils module
backend.add(import('@terasky/backstage-plugin-scaffolder-backend-module-terasky-utils'));
// Add required scaffolder modules for template publishing
backend.add(import('@backstage/plugin-scaffolder-backend-module-github'));
backend.add(import('@backstage/plugin-scaffolder-backend-module-gitlab'));
backend.add(import('@backstage/plugin-scaffolder-backend-module-bitbucket'));
backend.start();
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The backend starts without errors
- Templates are registered correctly
- Actions are available in the scaffolder
- File generation works as expected
Troubleshooting#
Common issues and solutions:
-
Action Not Found
- Check plugin installation
- Verify backend configuration
- Review module imports
- Check action registration
-
File Generation Issues
- Check file permissions
- Verify template syntax
- Review input parameters
- Check output paths
-
Git Integration Problems
- Verify tokens
- Check repository access
- Review publishing configuration
- Check error messages