-
Notifications
You must be signed in to change notification settings - Fork 745
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
Using modules requires hashicorp/github #696
Comments
I'm seeing the same - with terraform 13.5, I cannot replace the references with:
|
@Anton-Shutik, I can only reproduce this if none of the The Terraform documentation mentions in a note the following:
Can you try adding a section like the following to a file in the terraform {
required_providers {
github = {
source = "integrations/github"
version = ">= 4.4.0" // or whatever version range you wish
}
}
} |
Bumping this, as we're running into a similar issue and can demonstrate it in a different way: Our original config that made this come up:
With this config, running
Neither
This turned out to be because we had two (conflicting, apparently)
We updated In Problematic config:
Fixed:
|
👋 Hey Friends, this issue has been automatically marked as |
👋 Hey Friends, this issue has been automatically marked as |
Hi there,
The issue is that it installs
hashicorp/github
dependency if using terraformmodule
Terraform Version
Terraform v0.14.6
Affected Resource(s)
Terraform Configuration Files
providers.tf
:Expected Behavior
terraform init
terraform providers
Actual Behavior
terraform init
terraform providers
Steps to Reproduce
main.tf
and run
terraform init
&terraform providers
The text was updated successfully, but these errors were encountered: