npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@globallogicuki/backstage-plugin-terraform

v0.11.5

Published

You can use this plugin to display a list of terraform runs for one or more workspaces.

Downloads

1,755

Readme

Terraform Frontend Plugin for Backstage

You can use this plugin to display a list of terraform runs for one or more workspaces.

Terraform Runs - Single Workspace

Terraform Runs - Multiple Workspaces

Install

yarn add @globallogicuki/backstage-plugin-terraform

Setup

This plugin is designed to work in its own tab within an entity. You will need to add the <EntityTerraformContent /> component to the entity page in the frontend app.

There is a isTerraformAvailable helper function and a <EntityTerraformCard /> component available should you wish to use this within an existing tab.

Edit the packages/app/src/components/catalog/EntityPage.tsx and add the imports:

import { EntityTerraformContent } from '@globallogicuki/backstage-plugin-terraform';

Then add the following route and component to the desired entity page:

<EntityLayout.Route path="/terraform" title="Terraform">
  <EntityTerraformContent />
</EntityLayout.Route>

There are two annotations that you should add to your catalog-info.yaml file:

annotations:
  terraform/organization: orgName
  terraform/workspaces: workspaceName1,workspaceName2,workspaceName3

You will also need to have the terraform backend plugin installed and running.

Terraform Latest Run card

Latest Run card - Single Workspace

Latest Run card - Multiple Workspaces

This is an additional component that can be referenced with <EntityTerraformLatestRunCard> and imported and added to the EntityPage.tsx file for routing.

Terraform Workspace Health card

Workspace Health card - Light mode

This is an additional component that can be referenced with <EntityTerraformWorkspaceHealthAssessmentsCard> and imported and added to the EntityPage.tsx file for routing from the plugin root.

Alternatively it can be referenced from within another component, using the <TerraformWorkspaceHealthAssessments> tag.

It will render a Health Card for each workspace defined in your catalog-info.yaml file, with each Health Card containing child cards for Drift Metrics and Validation Checks for a particular workspace.

Terraform Drift Metrics

Workspace Health card - Drift Only

The Drift card is visible within the Workspace Health component by default, but can be optionally hidden using the showDrift property on the <TerraformWorkspaceHealthAssessments> tag, eg:

<TerraformWorkspaceHealthAssessments showDrift={false}>

The Drift card further incorporates a navigational element, providing a direct link to the dedicated Drift view for the Workspace within your Terraform deployment if a more granular breakdown is required.

Terraform Validation Checks

Workspace Health card - Validation Checks Only

The Validation Checks card is also visible within the Workspace Health component by default, but can be optionally hidden using the showValidationChecks property on the <TerraformWorkspaceHealthAssessments> tag, eg:

<TerraformWorkspaceHealthAssessments showValidationChecks={false}>

The Validation Checks card also incorporates a direct link to the Continuous Validation view for the Workspace within your Terraform deployment if a more detailed breakdown is needed.