Terraform import blocks take over a console-built AWS prod — console names kept, deletes refused in CI
The test account of an AWS data layer I work on is built by Terraform, from a module written against a read-only capture of prod. The previous article covers how, and it said the same module could run against prod with "only one more tfvars file". Prod itself was still built and changed by hand in the console. I wanted prod defined by the same module, with applies I start by hand. The first read-only terraform plan against prod wanted to destroy seven resources, because the console had named…
Read more