Command-Line Help for nixops4-resource-runner

This document contains the help content for the nixops4-resource-runner command-line program.

Command Overview:

nixops4-resource-runner

A utility to run resource providers without expressions, and without nixops4, primarily for testing

Usage: nixops4-resource-runner <COMMAND>

Subcommands:
  • create — Create a resource

nixops4-resource-runner create

Create a resource

Usage: nixops4-resource-runner create [OPTIONS] --provider-exe <PROVIDER_EXE> --type <RESOURCE_TYPE>

Options:
  • --provider-exe <PROVIDER_EXE> — The executable that implements the resource operations

  • --type <RESOURCE_TYPE> — The type of resource to create: an identifier recognized by the resource provider

  • --inputs-json <INPUT_PROPERTIES_JSON> — The (whole) JSON input properties for the resource

    This is a JSON object with the values needed to create the resource. The structure of this object is defined by the resource provider behavior.

  • -j, --input-json <NAME> — An individual input property for the resource, in JSON format

  • -s, --input-str <NAME> — An individual input property for the resource, as a raw string.

    This is equivalent to --input-json NAME JSON if JSON is the JSON string formatting of STR.