Run Example Action

Action ID: acme:example
NPM Package:

@aws/plugin-scaffolder-backend-aws-apps-for-backstage

Description

Runs an example action

Input Schema

PropertyTypeDescriptionRequired
myParameterstringThis is an example parameter, don't set it to foo

Output Schema

No output schema defined for this action.

Usage Examples

Run with user-provided environment value

Runs the action with myParameter set from a user-provided environment parameter. Place it after fetch:template to run environment-specific logic during scaffolding.

Copy
steps:
  - id: fetch-base
    action: fetch:template
    input:
      url: ./skeleton
      values:
        name: ${{ parameters.name }}
        environment: ${{ parameters.environment }}

  - id: run-example-env
    action: acme:example
    input:
      myParameter: ${{ parameters.environment }}

Run with a fixed mode to enforce a default behavior

Runs the action with a fixed string so every scaffold uses the same mode. Use this after fetch:template when you do not want to expose a parameter to users.

Copy
steps:
  - id: fetch-base
    action: fetch:template
    input:
      url: ./skeleton
      values:
        name: ${{ parameters.name }}

  - id: run-example-default
    action: acme:example
    input:
      myParameter: initialize-ci