Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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


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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: