Terraform may be misled, not provider
Provider is not misled into thinking. Terraform may be misled into thinking that all of the managed objects have been deleted . So, Terraform removes all of the tracked objects from the state file.
This commit is contained in:
parent
66b4d155b1
commit
3af1950adf
|
@ -45,9 +45,9 @@ plan file, it doesn't allow selecting a planning mode other than "refresh only",
|
||||||
and `-auto-approve` is always enabled.
|
and `-auto-approve` is always enabled.
|
||||||
|
|
||||||
Automatically applying the effect of a refresh is risky, because if you have
|
Automatically applying the effect of a refresh is risky, because if you have
|
||||||
misconfigured credentials for one or more providers then the provider may
|
misconfigured credentials for one or more providers then Terraform may
|
||||||
be misled into thinking that all of the managed objects have been deleted,
|
be misled into thinking that all of the managed objects have been deleted,
|
||||||
and thus remove all of the tracked objects without any confirmation prompt.
|
and thus removes all of the tracked objects without any confirmation prompt.
|
||||||
|
|
||||||
Instead, we recommend using the following command in order to get the same
|
Instead, we recommend using the following command in order to get the same
|
||||||
effect but with the opportunity to review the changes that Terraform has
|
effect but with the opportunity to review the changes that Terraform has
|
||||||
|
|
Loading…
Reference in New Issue