@seatgeek/backstage-plugin-scaffolder-backend-module-hcl
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

scaffolder-backend-module-hcl

This contains a collection of actions to use in scaffolder templates for working with HCL (Hashicorp Configuration Language). See https://github.com/hashicorp/hcl to learn more about HCL.

Getting started

From your Backstage root directory

# From your Backstage root directory
yarn add --cwd packages/backend @seatgeek/backstage-plugin-scaffolder-backend-module-hcl

Then ensure that both the scaffolder and this module are added to your backend:

// In packages/backend/src/index.ts
const backend = createBackend();
// ...
backend.add(import('@seatgeek/backstage-plugin-scaffolder-backend-module-hcl'));

After that you can use the actions in your template.

Actions

  • hcl:merge Merge HCL strings
  • hcl:merge:write Merge HCL strings and write to a file
  • hcl:merge:files Merge HCL files
  • hcl:merge:files:write Merge HCL files and write to a file

Readme

Keywords

none

Package Sidebar

Install

npm i @seatgeek/backstage-plugin-scaffolder-backend-module-hcl

Weekly Downloads

139

Version

1.0.0

License

Apache-2.0

Unpacked Size

22 kB

Total Files

5

Last publish

Collaborators

  • seatgeek