-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
fix(terraform_validate
): Run terraform init
on "Missing required provider" error
#586
Conversation
terraform init
on missing required providerterraform init
on missing required provider
Can you please provide a tf configuration that failed? I don't get what is " fresh TF config where no provider has been installed" |
@MaxymVlasov , this happened for a fairly complex project setup that contains multiple separate Terraform configurations each with multiple modules. I was not able to create a really minimal example which reproduces the behavior I have seen for the real project. However, as the error message I saw (in the linked bug report) is an error from Terraform which can be fixed by running The fix proposed in this PR fixed the problem for me in the real project. |
terraform init
on missing required providerterraform_validate
): Run terraform init
on "Missing required provider" error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In one day there will be an introduced tests, but for now, it's kinda acceptable
## [1.83.6](v1.83.5...v1.83.6) (2023-11-16) ### Bug Fixes * **`terraform_validate`:** Run `terraform init` on "Missing required provider" error ([#586](#586)) ([6e2bb2e](6e2bb2e))
This PR is included in version 1.83.6 🎉 |
In any case, thanks for contibution |
Put an
x
into the box if that apply:Description of your changes
Fixes #585
How can we test changes