Skip to content

Official documentation is not able to be followed #37

@acrois

Description

@acrois

Describe the bug

Follow the provider documentation exactly:

% terraform plan
╷
│ 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/myfrog: required by this configuration but no version is selected
│   - provider registry.terraform.io/jfrog/myjfrog: required by this configuration but no version is selected

Note: terraform detects the provider "myjfrog" block as a terraform provider without a namespace. This error is the same whether you run terraform plan, apply, or init.

Requirements for and issue

Expected behavior

No errors.

Additional context

Remove the:

provider {

}

block and it will work as expected.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions