Skip to main content
⏳ Estimated read time: 2 min read

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

  1. Navigate to the Topology Canvas.
  2. Click on Add New Resource and select Resource Pack.
  3. Choose the resources to include, configure their settings, and define dependencies.
  4. Save the Resource Pack with a unique name for future use.

Modify

  1. Locate the Resource Pack in the Resource Library.
  2. Click "Edit" to update resource configurations, add new resources, or adjust dependencies.
  3. Save changes to create a new version, ensuring version control for tracking modifications.

Search and Add

  1. Open the Add New Resource panel.
  2. Use the search bar to find the desired Resource Pack.
  3. Drag and drop the Resource Pack into the Topology Canvas.
  4. Configure specific parameters if required.

Delete

note

This action does not affect existing deployments using the Resource Pack.

  1. In the Resource Library, find the Resource Pack you want to delete.
  2. Click on the delete icon next to the Resource Pack.
  3. 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