mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Include something about how state is checked
This commit is contained in:
@@ -366,9 +366,11 @@ this command.
|
||||
|
||||
### Providers that are no longer required
|
||||
|
||||
If you remove the last dependency on a particular provider from your
|
||||
configuration, then `terraform init` will remove any existing lock file entry
|
||||
for that provider.
|
||||
To determine whether there still exists a dependency on a given provider,
|
||||
Terraform uses two sources of truth: the configuration itself, and the state.
|
||||
If you remove the last dependency on a particular provider from both your
|
||||
configuration and state, then `terraform init` will remove any existing lock
|
||||
file entry for that provider.
|
||||
|
||||
```diff
|
||||
--- .terraform.lock.hcl 2020-10-07 16:12:07.539570634 -0700
|
||||
|
||||
Reference in New Issue
Block a user