Skip to content

Commit 35fe8bc

Browse files
committed
complete stack normalizing providers and versions
Signed-off-by: junior <[email protected]>
1 parent de04114 commit 35fe8bc

File tree

2 files changed

+41
-38
lines changed

2 files changed

+41
-38
lines changed

deploy/complete/terraform/providers.tf

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,6 @@
1-
# Copyright (c) 2020-2022 Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2020-2024 Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
3-
#
4-
5-
terraform {
6-
required_version = ">= 1.0"
7-
required_providers {
8-
oci = {
9-
source = "oracle/oci"
10-
version = ">= 4.85.0"
11-
# https://registry.terraform.io/providers/hashicorp/oci/4.85.0
12-
}
13-
kubernetes = {
14-
source = "hashicorp/kubernetes"
15-
version = "2.2.0" # Latest version as January 2022 = 2.7.1. Using 2.2.0 (May, 2021) for ORM compatibility (12 releases behind)
16-
# https://registry.terraform.io/providers/hashicorp/kubernetes/2.2.0
17-
}
18-
helm = {
19-
source = "hashicorp/helm"
20-
version = "2.1.0" # Latest version as January 2022 = 2.4.1. Using 2.1.0 (March, 2021) for ORM compatibility (7 releases behind)
21-
# https://registry.terraform.io/providers/hashicorp/helm/2.1.0
22-
}
23-
tls = {
24-
source = "hashicorp/tls"
25-
version = "3.1.0" # Latest version as January 2022 = 3.1.0.
26-
# https://registry.terraform.io/providers/hashicorp/tls/3.1.0
27-
}
28-
local = {
29-
source = "hashicorp/local"
30-
version = "2.1.0" # Latest version as January 2022 = 2.1.0.
31-
# https://registry.terraform.io/providers/hashicorp/local/2.1.0
32-
}
33-
random = {
34-
source = "hashicorp/random"
35-
version = "3.1.0" # Latest version as January 2022 = 3.1.0.
36-
# https://registry.terraform.io/providers/hashicorp/random/3.1.0
37-
}
38-
}
39-
}
3+
#
404

415
provider "oci" {
426
tenancy_ocid = var.tenancy_ocid
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
3+
#
4+
5+
terraform {
6+
required_version = ">= 1.2" #>= 1.6 when using OpenTofu
7+
required_providers {
8+
oci = {
9+
source = "oracle/oci"
10+
version = ">= 5"
11+
# https://registry.terraform.io/providers/oracle/oci/
12+
}
13+
kubernetes = {
14+
source = "hashicorp/kubernetes"
15+
version = ">= 2.27"
16+
# https://registry.terraform.io/providers/hashicorp/kubernetes/
17+
}
18+
helm = {
19+
source = "hashicorp/helm"
20+
version = ">= 2.12"
21+
# https://registry.terraform.io/providers/hashicorp/helm/
22+
}
23+
tls = {
24+
source = "hashicorp/tls"
25+
version = ">= 4"
26+
# https://registry.terraform.io/providers/hashicorp/tls/
27+
}
28+
local = {
29+
source = "hashicorp/local"
30+
version = ">= 2.5"
31+
# https://registry.terraform.io/providers/hashicorp/local/
32+
}
33+
random = {
34+
source = "hashicorp/random"
35+
version = ">= 3.6"
36+
# https://registry.terraform.io/providers/hashicorp/random/
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)