alphagov/terraform-provider-concourse

feature request: add variables

Opened this issue · 2 comments

Hello!

Would it be please possible to add a variables option for set-pipeline (same as --var)

fly set-pipeline --help
Usage:
  fly [OPTIONS] set-pipeline [set-pipeline-OPTIONS]

Application Options:
  -t, --target=                     Concourse target name
  -v, --version                     Print the version of Fly and exit
      --verbose                     Print API requests and responses
      --print-table-headers         Print table headers even for redirected output

Help Options:
  -h, --help                        Show this help message

[set-pipeline command options]
      -n, --non-interactive         Skips interactions, uses default values
          --no-color                Disable color output
      -d, --dry-run                 Run a set pipeline step but in dry-run mode
          --check-creds             Validate credential variables against credential manager
      -p, --pipeline=               Pipeline to configure
      -c, --config=                 Pipeline configuration file, "-" stands for stdi
-->>  -v, --var=[NAME=STRING]       Specify a string value to set for a variable in the pipeline
      -y, --yaml-var=[NAME=YAML]    Specify a YAML value to set for a variable in the pipeline
      -l, --load-vars-from=         Variable flag that can be used for filling in template values in configuration from a YAML file
          --team=                   Name of the team to which the pipeline belongs, if different from the target default

Thanks!

I contributed a PR with this recently. The maintainers will need to cut a new release with that commit in it, though ❤️

#50

I contributed a PR with this recently. The maintainers will need to cut a new release with that commit in it, though ❤️

#50