You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the module after declaring integrations/github upon initialization only that provider is downloaded.
Current Behavior
When using the module after declaring integrations/github upon initialization both providers (integrations/github and hashicorp/github) are downloaded.
Terraform Init
> terraform init
Initializing modules...
- test_github_repo_defaults in modules/project
Downloading git::https://github.com/TheYorkshireDev/terraform-github-repository.git?ref=tgr-22 for test_github_repo_defaults.software_repository...
- test_github_repo_defaults.software_repository in .terraform/modules/test_github_repo_defaults.software_repository
Initializing the backend...
Successfully configured the backend "remote"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins...
- Finding integrations/github versions matching "4.19.0"...
- Finding latest version of hashicorp/github...
- Installing hashicorp/github v4.19.0...
- Installed hashicorp/github v4.19.0 (signed by HashiCorp)
- Installing integrations/github v4.19.0...
- Installed integrations/github v4.19.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
╷
│ Warning: Additional provider information from registry
│
│ The remote registry returned warnings for
│ registry.terraform.io/hashicorp/github:
│ - For users on Terraform 0.13 or greater, this provider has moved to
│ integrations/github. Please update your source in required_providers.
╵
Terraform has been successfully initialized!
integrations/github
provider supersedeshashicorp/github
however there is an outstanding bug (integrations/terraform-provider-github#652 (comment) & integrations/terraform-provider-github#652 (comment)) on the newer provider which causes modules that interact with GitHub to use the olderhashicorp/github
unless explicitly referenced within the module.Examples in this repository reference the newer provider (https://github.com/operatehappy/terraform-github-repository/blob/master/examples/simple/main.tf) so we should encourage usage.
Expected Behavior
When using the module after declaring
integrations/github
upon initialization only that provider is downloaded.Current Behavior
When using the module after declaring
integrations/github
upon initialization both providers (integrations/github
andhashicorp/github
) are downloaded.Terraform Init
Terraform Providers
Steps to Reproduce
Use the simple example from the documentation: https://github.com/operatehappy/terraform-github-repository/blob/master/examples/simple/main.tf
The text was updated successfully, but these errors were encountered: