Resource Packs
Resource Packs in StackGen are pre-configured infrastructure templates designed for reusability across different deployments. They allow users to bundle multiple resources, configurations, and dependencies into a single package, streamlining the process of adding complex resource groups to the Topology Canvas.
Use Case
Resource Packs are ideal for:
- Standardizing infrastructure deployments across projects.
- Simplifying complex topologies by grouping related resources.
- Ensuring consistency in resource configurations.
- Quickly replicating common infrastructure setups in new environments.
Resource Pack Actions
You can manage your Resouce Packs in the following ways:
Create
- Navigate to the Topology Canvas.
- Click on Add New Resource and select Resource Pack.
- Choose the resources to include, configure their settings, and define dependencies.
- Save the Resource Pack with a unique name for future use.
Modify
- Locate the Resource Pack in the Resource Library.
- Click "Edit" to update resource configurations, add new resources, or adjust dependencies.
- Save changes to create a new version, ensuring version control for tracking modifications.
Search and Add
- Open the Add New Resource panel.
- Use the search bar to find the desired Resource Pack.
- Drag and drop the Resource Pack into the Topology Canvas.
- Configure specific parameters if required.
Delete
note
This action does not affect existing deployments using the Resource Pack.
- In the Resource Library, find the Resource Pack you want to delete.
- Click on the delete icon next to the Resource Pack.
- Confirm the deletion.
Governance and Policy Applications
- Resource Packs can be governed by organizational policies to ensure compliance with security, cost, and operational standards.
- Policies can enforce restrictions on Resource Pack usage, such as limiting certain configurations or mandating specific security settings.
- StackGen's policy engine can evaluate Resource Packs during deployment to ensure adherence to defined governance rules.
Watch this video to learn more about Resource Packs in StackGen