3 ms·
> 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. I
by MuffinFlavored 4y 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
- joseph 4y agoIt also defines the state in a standard way, toggles CLI configuration if it is present in the root module, and does some validation.
- MuffinFlavored 4y agocould 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
- joseph 4y agoI was referring to how and where we store it. Feel free to email me if you have more questions.