Hello , I am trying to install the terraform modul...
# general
l
Hello , I am trying to install the terraform module "oracle-terraform-modules/oke/oci" (https://registry.terraform.io/modules/oracle-terraform-modules/oke/oci/latest) on pulumi using pulumi package add terraform-module oracle-terraform-modules/oke/oci oke ( the command should work with the vcn module ) but I get the error
Copy code
error: 
Error: Missing required provider configuration

  on pulumi.tf.json line 3, in module:
   3:     "mymod": {

The child module requires an additional configuration for provider
oracle/oci, with the local name "oci.home".

Refer to the module's documentation to understand the intended purpose of
this additional provider configuration, and then add an entry for oci.home in
the "providers" meta-argument in the module block to choose which provider
configuration the module should use for that purpose.

error: failed to get schema: parameterize: rpc error: code = Unknown desc = error while inferring module schema for 'oracle-terraform-modules/oke/oci' version 5.3.1: resolve module sources: init failure (Terraform CLI): error running init (Terraform CLI): exit status 1
I looked at the doc and there is a section about Terraform providers but in my case I am not able to install it at all https://www.pulumi.com/docs/iac/extending-pulumi/use-terraform-module/#configuring-terraform-providers Any help or hint would be appreciated , thanks !
I export all of this varaibles to configure the OCI provider
Copy code
export TF_VAR_tenancy_ocid="
export TF_VAR_user_ocid=""
export TF_VAR_fingerprint="d"
export TF_VAR_region=""
export TF_VAR_private_key_path=""
looking at the module doc https://registry.terraform.io/modules/oracle-terraform-modules/oke/oci/latest/examples/istio-mc it uses a
Copy code
home_region
I tried adding it with no success
e
Could you file an issue with these repro steps in https://github.com/pulumi/pulumi-terraform-module/ we would be glad to dig in. Thanks.
l
thanks, I created the issue with all the repro steps https://github.com/pulumi/pulumi-terraform-module/issues/462
e
Perfect! Thanks so much