Skip to content

Commit

Permalink
fix: variables in oci
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Aug 22, 2024
1 parent f5bda00 commit c780df3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 28 deletions.
3 changes: 0 additions & 3 deletions terraform/oci/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ module "oci_core" {
instance_name = "BdxPwD"

tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key = var.private_key
}

module "oci_a1_flex" {
Expand Down
1 change: 0 additions & 1 deletion terraform/oci/modules/a1_flex/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ terraform {
required_providers {
oci = {
source = "oracle/oci"
version = "6.7.0"
}
}
}
8 changes: 0 additions & 8 deletions terraform/oci/modules/core/core.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key = var.private_key
region = var.region
}

data "oci_identity_availability_domain" "ad" {
compartment_id = var.tenancy_ocid
ad_number = var.availability_domain
Expand Down
15 changes: 0 additions & 15 deletions terraform/oci/modules/core/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ variable "tenancy_ocid" {
description = "Tenancy ocid where to create the sources."
}

variable "user_ocid" {
type = string
description = "Ocid of user that terraform will use to create the resources."
}

variable "fingerprint" {
type = string
description = "Fingerprint of OCI API Private Key."
}

variable "private_key" {
type = string
description = "Contents of OCI API Private Key used."
}

variable "instance_name" {
type = string
description = "Name of the instance."
Expand Down
1 change: 0 additions & 1 deletion terraform/oci/modules/core/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ terraform {
required_providers {
oci = {
source = "oracle/oci"
version = "6.7.0"
}
}
}

0 comments on commit c780df3

Please sign in to comment.