rancher / terraform-controller

Use K8s to Run Terraform
Apache License 2.0
291 stars 46 forks source link

Refactor main Constructs #15

Closed cloudnautique closed 5 years ago

cloudnautique commented 5 years ago

Currently we have:

Modules Executions -> tied to the plan existence of the output. ExecutionRuns

This is missing something, a more durable construct that feels like the appropriate place to live on. Propose: Modules Environments -> Tied to the output of a module and it's variables. Essentially the long lived object that will own the TF State file. Executions -> A long lived run of a plan. Execution runs -> A run time environment that interacts with the final amalgamation of inputs and runs terraform. No state or persistence is to live on them.

luthermonson commented 5 years ago

Discussion with @cloudnautique and we're going to rename Executions > States and ExecutionRuns to Executions and see where that takes us.