terraform-provider-concourse icon indicating copy to clipboard operation
terraform-provider-concourse copied to clipboard

feature request: add variables

Open marcinkubica opened this issue 3 years ago • 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!

marcinkubica avatar Nov 03 '22 17:11 marcinkubica

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

https://github.com/alphagov/terraform-provider-concourse/pull/50

sigwinch28 avatar Nov 04 '22 13:11 sigwinch28

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

https://github.com/alphagov/terraform-provider-concourse/pull/50

marcinkubica avatar Nov 04 '22 20:11 marcinkubica