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:
Mukesh Kumar 2022-01-03 07:26:48 +05:30 committed by GitHub
parent 66b4d155b1
commit 3af1950adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -45,9 +45,9 @@ plan file, it doesn't allow selecting a planning mode other than "refresh only",
and `-auto-approve` is always enabled.
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,
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
effect but with the opportunity to review the changes that Terraform has