Merge and Write Configuration

Action ID: hcl:merge:write
NPM Package:

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

Description

Merges and writes configuration data seamlessly into the desired destination.

Input Schema

PropertyTypeDescriptionRequired
optionsany-
outputPathstringThe path to write the merged HCL content to
aSourceContentstringThe HCL content to be merged
bSourceContentstringThe HCL content to be merged

Output Schema

No output schema defined for this action.

Usage Examples

Action schema required to produce accurate examples

I can’t generate technically accurate examples for hcl:merge:write without its input schema or documentation. To avoid inventing parameters, please share the action’s input schema (or a link to its docs). Once provided, I’ll create two concise, practical examples that fit real scaffolding workflows.

If it helps, please confirm:

  • Required inputs and their types
  • Optional flags and defaults
  • How HCL is provided for merging string, JSON-equivalent structure, or file path
  • How the target file is selected and whether create-if-missing is supported
  • Merge behavior replace, deep-merge, append for lists, conflict resolution
  • Output artifacts or result fields (if any)