Difference between revisions of "Error: Inconsistent dependency lock file"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
 
  │
 
  │
 
  │ The following dependency selections recorded in the lock file are inconsistent with the current configuration:
 
  │ 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/aws: required by this configuration [[but no version is selected]]
 
  │
 
  │
 
  │ To make the initial dependency selections that will initialize the dependency lock file, run:
 
  │ To make the initial dependency selections that will initialize the dependency lock file, run:

Revision as of 11:49, 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/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

Error: Invalid provider configuration

See also

Advertising: