Skip to content

Commit 4ef0c72

Browse files
authored
fix: changed oci provider namespace in submodules (#508)
* fix: changed oci provider namespace in submodules Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
1 parent 25c6b3b commit 4ef0c72

File tree

10 files changed

+41
-22
lines changed

10 files changed

+41
-22
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ generated/**
1515
# visual code
1616
**/.vscode/*
1717

18+
.terraform.lock.hcl

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module "vcn" {
3636

3737
module "bastion" {
3838
source = "oracle-terraform-modules/bastion/oci"
39-
version = "3.0.0"
39+
version = "3.1.0"
4040

4141
tenancy_id = var.tenancy_id
4242
compartment_id = var.compartment_id
@@ -84,7 +84,7 @@ module "bastion" {
8484

8585
module "operator" {
8686
source = "oracle-terraform-modules/operator/oci"
87-
version = "3.0.3"
87+
version = "3.1.0"
8888

8989
tenancy_id = var.tenancy_id
9090

modules/bastionsvc/versions.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_providers {
3+
oci = {
4+
source = "oracle/oci"
5+
# pass oci home region provider explicitly for identity operations
6+
version = ">= 4.67.3"
7+
}
8+
}
9+
required_version = ">= 1.0.0"
10+
}

modules/extensions/iam.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
terraform {
55
required_providers {
66
oci = {
7-
source = "hashicorp/oci"
7+
source = "oracle/oci"
88
# pass oci home region provider explicitly for identity operations
99
configuration_aliases = [oci.home]
10+
version = ">= 4.67.3"
1011
}
1112
}
1213
required_version = ">= 1.0.0"

modules/network/variables.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,4 @@ variable "public_lb_allowed_ports" {
7373

7474
variable "create_fss" {
7575
type = bool
76-
}
77-
78-
variable "create_fss" {
79-
type = bool
80-
}
76+
}

modules/network/versions.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_providers {
3+
oci = {
4+
source = "oracle/oci"
5+
# pass oci home region provider explicitly for identity operations
6+
version = ">= 4.67.3"
7+
}
8+
}
9+
required_version = ">= 1.0.0"
10+
}

modules/oke/iam.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
terraform {
55
required_providers {
66
oci = {
7-
source = "hashicorp/oci"
7+
source = "oracle/oci"
88
# pass oci home region provider explicitly for identity operations
99
configuration_aliases = [oci.home]
10+
version = ">= 4.67.3"
1011
}
1112
}
1213
required_version = ">= 1.0.0"

modules/storage/fss.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
# Copyright 2017, 2021 Oracle Corporation and/or affiliates.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
33

4-
terraform {
5-
required_providers {
6-
oci = {
7-
source = "hashicorp/oci"
8-
# pass oci home region provider explicitly for identity operations
9-
configuration_aliases = [oci.home]
10-
}
11-
}
12-
required_version = ">= 1.0.0"
13-
}
14-
154
# Create file system
165
resource "oci_file_storage_file_system" "fss" {
176
availability_domain = local.availability_domain

modules/storage/versions.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
terraform {
2+
required_providers {
3+
oci = {
4+
source = "oracle/oci"
5+
# pass oci home region provider explicitly for identity operations
6+
configuration_aliases = [oci.home]
7+
version = ">= 4.67.3"
8+
}
9+
}
10+
required_version = ">= 1.0.0"
11+
}

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
terraform {
55
required_providers {
66
oci = {
7-
source = "oracle/oci"
8-
version = ">= 4.67.3"
7+
source = "oracle/oci"
98
configuration_aliases = [oci.home]
9+
version = ">= 4.67.3"
1010
}
1111
}
1212
required_version = ">= 1.0.0"

0 commit comments

Comments
 (0)