controlplaneio / simulator

Kubernetes Security Training Platform - focusing on security mitigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform Init only if it has not already been initialised.

s-irvine opened this issue · comments

At the moment we init pretty much every time we run a simulator command. This takes a fair bit of time and fills the screen with useless output.

We should only run terraform init when doing a create/destroy or when terraform has not yet been initialised in the launch container.