required_version = ">= 0.13"
required_providers {
cdap = {
source = "GoogleCloudPlatform/cdap"
version = "0.9.0"
}
google = {
source = "hashicorp/google"
version = "3.82.0"
}
}
}
data "google_client_config" "current" {}
provider "cdap" {
host = "${module.project_dev_dcipoc_01_data_fusion.service_endpoint}/api"
token = data.google_client_config.current.access_token
}
module "custom_dataproc" {
source = "terraform-google-modules/data-fusion/google//modules/dataproc_profile"
version = "0.1"
name = "custom-dataproc"
label = "Custom Dataproc Profile"
}
Error:
Initializing modules...
Downloading terraform-google-modules/data-fusion/google 0.1.0 for custom_dataproc...
- custom_dataproc in .terraform/modules/custom_dataproc/modules/dataproc_profile
Initializing the backend...
Initializing provider plugins...
- Using previously-installed googlecloudplatform/cdap v0.9.0
- Using previously-installed hashicorp/google v3.82.0
- Using previously-installed hashicorp/random v3.1.0
- Using previously-installed hashicorp/google-beta v3.81.0
- Finding latest version of hashicorp/cdap...
Error: Failed to install provider
Error while installing hashicorp/cdap: provider registry registry.terraform.io
does not have a provider named registry.terraform.io/hashicorp/cdap
Code used for testing . Terraform version 13.5.
Error: