Hacker News new | ask | show | jobs
by MuffinFlavored 1251 days ago
> There is one Terraform wrapper script that runs from CI/CD and it is the only script, no matter what kind of change is being made, Kubernetes or otherwise.

Is it just basically:

    terraform init

    terraform apply -var "env=$ENV" -auto-approve
1 comments

It also defines the state in a standard way, toggles CLI configuration if it is present in the root module, and does some validation.
could you share it/expand on “defines the state”? i thought state was captured in tfstate and then terraform goes and “diffs”/checks if it is accurate or not
I was referring to how and where we store it. Feel free to email me if you have more questions.