12 ms·
> first you write your code, generate a plan, inspect it carefully and only then apply Be aware that this experience differs wildly by terraform provider. I ca
by mdaniel 4y ago
> first you write your code, generate a plan, inspect it carefully and only then apply
Be aware that this experience differs wildly by terraform provider. I can very easily demonstrate that `terraform plan` for AWS consults absolutely zero of the AWS infrastructure, relying solely upon terraform.tfstate. So, great if everyone in the entire organization is entirely disciplined, but in a less disciplined environment terraform's aws provider does nothing to help warn the user of the demonstrably false plan. I don't know what the situation is with the other cloud providers in order to know if that's just "the terraform way" or what
- dimitar 4y agoIt is not a good idea to have several tools managing the same resources, I don't and for relying on the state file hasn't caused me any issues.