Skip to content

[Feature Request] Preserve variables set by previous corrals in order to daisychain corral runs #94

@slickwarren

Description

@slickwarren

Use case:

  • say we have 2 corral packages, corral1 and corral2.
  • Corral2 depends on some variables to be set that corral1 creates
  • if we run corral1 without cleaning up, the vars are not set for corral2 to use

example:

  • corral package create_rancher_server with --skip-cleanup set runs on a given setup
    • this sets the kubeconfig value
  • user runs a second corral package that uses the kubeconfig to modify the cluster
    • currently, user gets an error that the value is not set

this might be a limitation of TF, but maybe there's a way to get corral to work. I found that you can pull variables from other modules, but this isn't quite what I'm looking for, as I still want corral2 to be used without depending solely on corral1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions