Difference between revisions of "Error: Inconsistent dependency lock file"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
The following dependency selections recorded in the lock file are | The following dependency selections recorded in the lock file are | ||
inconsistent with the current configuration: | inconsistent with the current configuration: | ||
− | - provider registry.terraform.io/hashicorp/helm: required by this configuration but no version is selected | + | - [[provider]] [[registry.terraform.io/hashicorp/helm]]: required by this configuration but no version is selected |
To update the locked dependency selections to match a changed configuration, | To update the locked dependency selections to match a changed configuration, | ||
Line 42: | Line 42: | ||
== Related == | == Related == | ||
[[Error: Invalid provider configuration]] | [[Error: Invalid provider configuration]] | ||
+ | [[Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable]] | ||
== See also == | == See also == | ||
* {{terraform graph}} | * {{terraform graph}} | ||
* {{terraform init}} | * {{terraform init}} | ||
+ | * {{tf provider}} | ||
+ | |||
+ | [[Category:Terraform]] |
Latest revision as of 11:52, 31 March 2023
╷ │ Error: Inconsistent dependency lock file │ │ The following dependency selections recorded in the lock file are inconsistent with the current configuration: │ - provider registry.terraform.io/hashicorp/aws: required by this configuration but no version is selected │ │ To make the initial dependency selections that will initialize the dependency lock file, run: │ terraform init ╵
Solution: run terraform init
Error: Inconsistent dependency lock file The following dependency selections recorded in the lock file are inconsistent with the current configuration: - provider registry.terraform.io/hashicorp/helm: required by this configuration but no version is selected To update the locked dependency selections to match a changed configuration, run: terraform init -upgrade
╷ │ Error: Inconsistent dependency lock file │ │ The following dependency selections recorded in the lock file are inconsistent with the current configuration: │ - provider registry.terraform.io/hashicorp/aws: required by this configuration but no version is selected │ - provider registry.terraform.io/hashicorp/kubernetes: required by this configuration but no version is selected │ - provider registry.terraform.io/hashicorp/local: required by this configuration but no version is selected │ - provider registry.terraform.io/hashicorp/null: required by this configuration but no version is selected │ - provider registry.terraform.io/hashicorp/random: required by this configuration but no version is selected │ - provider registry.terraform.io/hashicorp/template: required by this configuration but no version is selected │ │ To make the initial dependency selections that will initialize the dependency lock file, run: │ terraform init ╵
Related[edit]
Error: Invalid provider configuration Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
See also[edit]
terraform graph
terraform init
[-upgrade | -reconfigure | -backend-config | -get-plugins=false | -verify-plugins=false ]
,--help
, Execution examples, Execution with errors,~/.terraformrc, required_providers
- Terraform provider:
AWS, Cloudflare
,GoogleWorkspace
,Kubernetes, Helm, .terraform/providers/
,template
,tfe
,providers.tf, dns, hashicorp/, hashicorp/tls
, Terraform provider versioning, Libvirt, datadog,terraform providers, required_version, onepassword
,rancher2
,time, terraform.tf
Advertising: