seqeralabs / seqera-kit

Python implementation and field-tool for automated pipeline launching through Tower CLI (beta)
Apache License 2.0
25 stars 6 forks source link

Add a flag to specify targets for resources to create #148

Closed ejseqera closed 3 months ago

ejseqera commented 6 months ago

@gwright99 pointed out a potentially helpful feature to have a flag that allows users to specify a subset of resources they would want to create from a YAML file. This is similar to the terraform apply -target option.

For example, with an e2e YAML, that defines resources all the way from an Organization to Launching a Pipeline, I might want to define a subset of targets for creation:

seqerakit create-resources.yml --targets 'organizations,workspaces'

This will prevent users from having to create multiple YAMLs for resources, or have to comment out blocks of their files.

ejseqera commented 3 months ago

Added in #158