Skip to main content
Loknath Ch

4 days ago

Terraform 'taint' command?

I am a newbie to terraform, and following 'Tainting and updating resources' section. It seems irrespective of container's (ghost_blog) taint status (even with false), when I try terraform plan/apply 2nd time, it always comes back with recreate message. I have lready checked the tfstate file and flag is set to 'false'.


Also complete opposite behavior with 'nginx:latest' image and container, it does not recreate even with taint flag is true.

I am on docker version 19.03.8 and Terraform version v0.11.13.
Am I doing anything wrong here or missing anything?.

Image of
4 days ago

I'll take a look and see if I can reproduce the issue on my end.

Image of Loknath Ch
Loknath Ch
4 days ago
ok,thanks