diff --git a/infra/providers.tf b/infra/providers.tf index aafebf52abfcebc0c25f330560372699804521ef..56302c004e7497db7ab52e27e3728d2fded454cc 100644 --- a/infra/providers.tf +++ b/infra/providers.tf @@ -12,14 +12,6 @@ provider "gitlab" { token = var.gitlab_project_access_token } -provider "oci" { - tenancy_ocid = var.oci_tenant_id - user_ocid = var.oci_user_id - fingerprint = var.oci_fingerprint - private_key_path = var.oci_key_file - region = var.oci_region -} - provider "helm" { kubernetes = { host = module.oke_cluster.api_endpoint @@ -28,12 +20,6 @@ provider "helm" { api_version = module.oke_cluster.exec_block.apiVersion command = module.oke_cluster.exec_block.command args = module.oke_cluster.exec_block.args - env = { - OCI_CLI_TENANCY = var.oci_tenant_id - OCI_CLI_USER = var.oci_user_id - OCI_CLI_FINGERPRINT = var.oci_fingerprint - OCI_CLI_KEY_FILE = var.oci_key_file - } } } } diff --git a/infra/variables.tf b/infra/variables.tf index f070b2c947c437a20c6fa77fde388aafbcbe27b5..88cdb423bdb36eece5a2f15c9cb17ec6329e3cfb 100644 --- a/infra/variables.tf +++ b/infra/variables.tf @@ -1,24 +1,3 @@ -variable "oci_region" { - type = string - default = "us-phoenix-1" -} - -variable "oci_tenant_id" { - type = string -} - -variable "oci_user_id" { - type = string -} - -variable "oci_fingerprint" { - type = string -} - -variable "oci_key_file" { - type = string -} - variable "gitlab_project" { description = "GitLab Project path with namespace (eg. 'myuser/mycloudlab')." type = string