bitovi / bitops

Automate the provisioning and configuration of cloud infrastructure with BitOps docker image
https://bitops.sh
Other
36 stars 9 forks source link

Terraform State verification #123

Open ian-bitovi opened 3 years ago

ian-bitovi commented 3 years ago

BitOps is not aware of Terraform State, so if an operations repo is deployed without one, Bitops will deploy all new resources.

mickmcgrath13 commented 3 years ago

I don't think this is a bug (changed title to "terraform state check").

Couple of questions:

  1. Are s3 and local state file the only 2 ways terraform can save state? I think consul is the other option. The Azure and GCP options are similar to the S3 configuration. We would just have to check if the backend directive exists.
  2. Is there a situation where someone wouldn't want TF State? It's more likely that they want it than not. When would they NOT want state? Maybe for a one of deployment.