Difference between revisions of "Terraform graph"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* https://www.terraform.io/docs/cli/commands/graph.html
 
* https://www.terraform.io/docs/cli/commands/graph.html
  
<pre>
+
 
+
│ Error: Inconsistent dependency lock file
+
│ Error: Inconsistent dependency lock file
+
│ 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]]
│  - provider registry.terraform.io/hashicorp/kubernetes: 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/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/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/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
+
│  - 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:
+
│ To make the initial dependency selections that will initialize the dependency lock file, run:
│  terraform init
+
│  terraform init
+
</pre>
 
  
  

Revision as of 20:35, 8 September 2022

terraform graph


╷
│ 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
╵


Error: Module not installed

Related

terraform graph 2>&1 | grep module | grep "{" |  cut -d"{" -f1

See also

Advertising: