@infosys_ltd/resource-actionhub
v0.1.0
Published
Backstage frontend plugin for discovering and managing cloud resources through Resource ActionHub.
Readme
Resource ActionHub Plugin for Backstage
The Resource ActionHub Plugin for Backstage helps teams discover and operate cloud resources directly from Backstage.
It currently supports AWS EC2 instance listing and actions (start, stop, reboot).
Installation
Install both Resource ActionHub packages from your Backstage root:
yarn --cwd packages/app add @infosys_ltd/resource-actionhub
yarn --cwd packages/backend add @infosys_ltd/resource-actionhub-backendConfiguration
Backend Configuration
- Add backend plugin registration in
packages/backend/src/index.ts:
backend.add(import('@infosys_ltd/resource-actionhub-backend'));- Add plugin configuration in
app-config.yaml:
resource-actionhub:
aws:
accessKeyId: ${AWS_ACCESS_KEY_ID}
secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
region: ${AWS_REGION}- Set backend environment variables:
export AWS_ACCESS_KEY_ID="<your-access-key-id>"
export AWS_SECRET_ACCESS_KEY="<your-secret-access-key>"
export AWS_REGION="<your-region>"Frontend Configuration
Add frontend page route in packages/app/src/App.tsx:
import { ResourceActionHubPage } from '@infosys_ltd/resource-actionhub';
<Route path="/resource-actionhub" element={<ResourceActionHubPage />} />Run
yarn startOpen http://localhost:3000/resource-actionhub.
Screenshot

Contributing
Contributions are welcome! Please open an issue or submit a pull request for improvements or bug fixes.
License
This project is licensed under the Apache License 2.0.
