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
From the config directory on my local machine, I run terraform init and get this result:
config % terraform init
Initializing the backend...
Initializing modules...
╷
│ Error: Provider type mismatch
│
│ on keys.tf line 44, in module "lz_keys":
│ 44: oci.home = oci.home
│
│ The local name "oci.home" in the root module represents provider "hashicorp/oci", but "oci.home" in module.lz_keys represents "oracle/oci".
│
│ Each provider has its own distinct configuration schema and provider types, so this module's "oci.home" can be assigned only a configuration for oracle/oci, which is not required by module.lz_keys.
╵
╷
│ Error: Provider type mismatch
│
│ on keys.tf line 64, in module "lz_service_connector_keys":
│ 64: oci.home = oci.home
│
│ The local name "oci.home" in the root module represents provider "hashicorp/oci", but "oci.home" in module.lz_service_connector_keys represents "oracle/oci".
│
│ Each provider has its own distinct configuration schema and provider types, so this module's "oci.home" can be assigned only a configuration for oracle/oci, which is not required by
│ module.lz_service_connector_keys.
╵
╷
│ Error: Provider type mismatch
│
│ on mon_service_connector.tf line 45, in module "lz_service_connector":
│ 45: oci.home = oci.home
│
│ The local name "oci.home" in the root module represents provider "hashicorp/oci", but "oci.home" in module.lz_service_connector represents "oracle/oci".
│
│ Each provider has its own distinct configuration schema and provider types, so this module's "oci.home" can be assigned only a configuration for oracle/oci, which is not required by
│ module.lz_service_connector.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on provider.tf line 24, in terraform:
│ 24: required_version = ">= 1.2.0, < 1.3.0"
│
│ This configuration does not support Terraform version 1.10.5. To proceed, either choose another supported Terraform version or update this version constraint. Version constraints are normally set for
│ good reason, so updating the constraint may lead to other errors or unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_access_governance_policies/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_access_governance_policies (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.7) does not support Terraform version 1.10.5. To
│ proceed, either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors
│ or unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_compartments/compartments/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_compartments (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//compartments?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_dynamic_groups/dynamic-groups/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_dynamic_groups (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//dynamic-groups?ref=v0.1.7) does not support Terraform version 1.10.5. To
│ proceed, either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors
│ or unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_groups/groups/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_groups (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//groups?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed, either choose
│ another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_oke_clusters_policy/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_oke_clusters_policy (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_policies/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_policies (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed, either
│ choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected
│ behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_root_policies/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_root_policies (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_services_policy/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_services_policy (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_template_policies/policies/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_template_policies (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//policies?ref=v0.1.8) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
╵
╷
│ Error: Unsupported Terraform Core version
│
│ on .terraform/modules/lz_top_compartment/compartments/providers.tf line 5, in terraform:
│ 5: required_version = "< 1.3.0"
│
│ Module module.lz_top_compartment (from git::https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam.git//compartments?ref=v0.1.7) does not support Terraform version 1.10.5. To proceed,
│ either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or
│ unexpected behavior.
How do I fix these errors?
Steps to reproduce:
cd to config folder
Run terraform init
Note: Running terraform init in the pre-config folder works as expected and the resources are deployed correctly when running terraform apply in pre-config. The errors only occur in config.
The text was updated successfully, but these errors were encountered:
From the
config
directory on my local machine, I runterraform init
and get this result:How do I fix these errors?
Steps to reproduce:
cd
to config folderterraform init
Note: Running
terraform init
in thepre-config
folder works as expected and the resources are deployed correctly when runningterraform apply
inpre-config
. The errors only occur inconfig
.The text was updated successfully, but these errors were encountered: