Ready to post? First, try searching for your answer.
I am creating terraform module for creating Auth0 application but in terraform init
command showing error like
providers.tf file
terraform {
required_providers {
auth0 = {
source = "auth0/auth0"
version = "1.4.0"
}
}
}
provider "auth0" {
domain = var.CUBYL_DEV_AUTH0_DOMAIN
client_id = var.CUBYL_DEV_AUTH0_CLIENT_ID
client_secret = var.CUBYL_DEV_AUTH0_CLIENT_SECRET
debug = true
}
main.tf
module “cubyl_auth0_client” {
source = “./modules/auth0/auth0-application”
name = local.auth0_client.name
description = local.auth0_client.description
app_type = local.auth0_client.app_type
client_metadata =
custom_login_page_on = false
is_first_party = true
is_token_endpoint_ip_header_trusted = true
oidc_conformant = true
callbacks = local.auth0_client.callbacks
allowed_origins = local.auth0_client.allowed_origins
allowed_logout_urls = local.auth0_client.allowed_logout_urls
web_origins = local.auth0_client.web_origins
grant_types = local.auth0_client.grant_types
}
error ss
I am not getting why its looking for hashicorp/auth0: provider rather then auth0/auth0?
please help
my terraform version - v1.8.5