Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider 'terraform' FAILED Missing provider definition #55

Open
mloskot opened this issue Sep 12, 2024 · 0 comments
Open

provider 'terraform' FAILED Missing provider definition #55

mloskot opened this issue Sep 12, 2024 · 0 comments

Comments

@mloskot
Copy link

mloskot commented Sep 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant