Skip to content

provider 'terraform' FAILED Missing provider definition #55

@mloskot

Description

@mloskot

In my module I use terraform_data and it seems tfvc latest installed with go install complains about missing version constraint for it:

provider 'terraform' FAILED Missing provider definition
───────────────────────────────────────────────────────────────────────────────────────────────────
  Resolution
  ───────────────────────────────────────────
  Configure source and version constraint for this provider in the `required_providers` block

  Details
  ─────────────────────
  Type:                provider
  Path:                terraform/modules/cadcorp/azure/stack-aks
  Name:                terraform
  Source:
  Version Constraints:
  Version:
  Latest Match:
  Latest Overall:

However, the terraform is a built-in provider that shall need no explicit configuration, from https://developer.hashicorp.com/terraform/language/resources/terraform-data

You can use the terraform_data resource without requiring or configuring a provider. It is always available through a built-in provider with the source address terraform.io/builtin/terraform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions