Closed sdlarsen closed 4 years ago
I had one versions.tf file in a directory that only references other modules (hence no providers listed). Output from the ignition module is used here though.
terraform {
required_version = ">=0.12"
}
Turning that into the following makes it work:
terraform {
required_version = ">= 0.13"
required_providers {
ignition = {
source = "terraform-providers/ignition"
}
}
}
Only changing the version requirement to be >= 0.13 made no difference, and an empty required providers block did neither. Why all other providers aren't needed I don't know.
Seem to work, although I can't explain the need for that particular provider.
This it the setup
Terraform Version
Terraform v0.13.0
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Affected Resource(s)
Any ignition (or, anything really, as terraform errors out before doing any work)
Terraform Configuration Files
One of a bunch of version.tf files:
My provider.tf is untouched from 0.12:
Debug Output
terraform plan output:
Expected Behavior
I would have expected it to actuallu use the already downloaded ignition provider. The output of terraform init:
Actual Behavior
Errors out with the missing provider:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan