|
|
|
|
|
by jrochkind1
1738 days ago
|
|
Right. I guess I'm asking about what happens if state changed outside of terraform. I thought I had seen terraform correcting it (to match what terraform thinks it should be) in some cases. OP seems to suggest that in some cases it does and in other cases it doens't. I am surprised if that is inconsistent and unpredictable, and would have expected terraform to (modulo bugs) either always or never do that. And am wondering what terraform's intent is with that. |
|
'terraform refresh' may be what you are looking for. This will update the state to match current configurations that may have been done outside of Terraform.