@apparentlymart need some help ,
provider.tf
terraform {
required_providers {
azurerm = {
source = “hashicorp/azurerm”
version = “3.33.0”
}
mssql = {
source = “betr-io/mssql”
version = “0.2.7”
}
}
}
provider “azurerm” {
skip_provider_registration = true
disable_terraform_partner_id = true
features {}
}
—my module.tf
module “sql_database_users” {
source = “git::https://xxx@dev.azure.com//sql_db_user_1?ref=main”
provider = mssql
}
i still get this error . can you help
2022-12-23T23:12:31.3025829Z Initializing provider plugins…
2022-12-23T23:12:31.3027204Z - Finding latest version of hashicorp/mssql…
2022-12-23T23:12:31.4364737Z - Finding latest version of hashicorp/null…
2022-12-23T23:12:31.5107927Z - Finding latest version of hashicorp/random…
2022-12-23T23:12:31.5450544Z - Finding betr-io/mssql versions matching “0.2.7”…
2022-12-23T23:12:31.6312964Z - Finding hashicorp/azurerm versions matching “3.33.0”…
2022-12-23T23:12:31.8472444Z - Installing hashicorp/null v3.2.1…
2022-12-23T23:12:32.1094433Z - Installed hashicorp/null v3.2.1 (signed by HashiCorp)
2022-12-23T23:12:32.1862027Z - Installing hashicorp/random v3.4.3…
2022-12-23T23:12:32.4489041Z - Installed hashicorp/random v3.4.3 (signed by HashiCorp)
2022-12-23T23:12:33.2608712Z - Installing betr-io/mssql v0.2.7…
2022-12-23T23:12:33.9060024Z - Installed betr-io/mssql v0.2.7 (self-signed, key ID 80E0830CD80D2DCF)
2022-12-23T23:12:33.9885262Z - Installing hashicorp/azurerm v3.33.0…
2022-12-23T23:12:36.3065837Z - Installed hashicorp/azurerm v3.33.0 (signed by HashiCorp)
2022-12-23T23:12:36.3066627Z
2022-12-23T23:12:36.3067247Z Partner and community providers are signed by their developers.
2022-12-23T23:12:36.3068107Z If you’d like to know more about provider signing, you can read about it here:
2022-12-23T23:12:36.3068814Z Plugin Signing | Terraform | HashiCorp Developer
2022-12-23T23:12:36.3069177Z
2022-12-23T23:12:36.3069724Z Error: Failed to query available provider packages
2022-12-23T23:12:36.3070074Z
2022-12-23T23:12:36.3070625Z Could not retrieve the list of available versions for provider
2022-12-23T23:12:36.3071346Z hashicorp/mssql: provider registry registry.terraform.io does not have a
2022-12-23T23:12:36.3072032Z provider named Terraform Registry
2022-12-23T23:12:36.3072389Z
2022-12-23T23:12:36.3073068Z Did you intend to use betr-io/mssql? If so, you must specify that source
2022-12-23T23:12:36.3073797Z address in each module which requires that provider. To see which modules are
2022-12-23T23:12:36.3074517Z currently depending on hashicorp/mssql, run the following command:
2022-12-23T23:12:36.3075149Z terraform providers