Skip to content

Commit 4012475

Browse files
committed
fix: null provider is no longer necessary
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent 4450eb9 commit 4012475

11 files changed

Lines changed: 11 additions & 69 deletions

File tree

examples/downstream/versions.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ terraform {
1717
source = "hashicorp/http"
1818
version = ">= 3.4"
1919
}
20-
null = {
21-
source = "hashicorp/null"
22-
version = ">= 3"
23-
}
2420
tls = {
2521
source = "hashicorp/tls"
2622
version = ">= 4.0"

examples/downstream_splitrole/versions.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ terraform {
1717
source = "hashicorp/http"
1818
version = ">= 3.4"
1919
}
20-
null = {
21-
source = "hashicorp/null"
22-
version = ">= 3"
23-
}
2420
tls = {
2521
source = "hashicorp/tls"
2622
version = ">= 4.0"

examples/one/versions.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ terraform {
1717
source = "hashicorp/http"
1818
version = ">= 3.4"
1919
}
20-
null = {
21-
source = "hashicorp/null"
22-
version = ">= 3"
23-
}
2420
tls = {
2521
source = "hashicorp/tls"
2622
version = ">= 4.0"

examples/prod/versions.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ terraform {
1717
source = "hashicorp/http"
1818
version = ">= 3.4"
1919
}
20-
null = {
21-
source = "hashicorp/null"
22-
version = ">= 3"
23-
}
2420
tls = {
2521
source = "hashicorp/tls"
2622
version = ">= 4.0"

examples/three/modules/tls/main.tf

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,6 @@ resource "tls_self_signed_cert" "ca_cert" {
2525
]
2626
}
2727

28-
# // Intermediate CA
29-
# resource "tls_private_key" "intermediate_key" {
30-
# algorithm = "RSA"
31-
# rsa_bits = 2048
32-
# }
33-
34-
# resource "tls_cert_request" "intermediate_csr" {
35-
# private_key_pem = tls_private_key.intermediate_key.private_key_pem
36-
37-
# subject {
38-
# common_name = "Example Intermediate CA"
39-
# organization = "Example"
40-
# }
41-
# }
42-
43-
# resource "tls_locally_signed_cert" "intermediate_cert" {
44-
# cert_request_pem = tls_cert_request.intermediate_csr.cert_request_pem
45-
46-
# ca_private_key_pem = tls_private_key.ca_key.private_key_pem
47-
# ca_cert_pem = tls_self_signed_cert.ca_cert.cert_pem
48-
49-
# validity_period_hours = 8760
50-
# is_ca_certificate = true
51-
52-
# allowed_uses = [
53-
# "cert_signing",
54-
# "crl_signing",
55-
# ]
56-
# }
57-
5828
// TLS Certificate
5929
resource "tls_private_key" "tls_key" {
6030
algorithm = "RSA"

examples/three/versions.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ terraform {
4949
source = "hashicorp/kubernetes"
5050
version = ">= 2.31.0"
5151
}
52+
time = {
53+
source = "hashicorp/time"
54+
version = ">= 0.12.0"
55+
}
5256
}
5357
}

modules/cluster/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
file = {
55
source = "rancher/file"
6-
version = ">= 1.1"
6+
version = ">= 2.5"
77
}
88
random = {
99
source = "hashicorp/random"

modules/deploy/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
file = {
55
source = "rancher/file"
6-
version = ">= 1.1.0"
6+
version = ">= 2.5"
77
}
88
}
99
}

modules/install_cert_manager/configured/versions.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ terraform {
55
source = "hashicorp/helm"
66
version = "2.14"
77
}
8-
kubernetes = {
9-
source = "hashicorp/kubernetes"
10-
version = ">= 2.32.0"
11-
}
128
time = {
139
source = "hashicorp/time"
1410
version = ">= 0.12.0"

modules/install_cert_manager/unconfigured/versions.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@ terraform {
55
source = "hashicorp/helm"
66
version = "2.14"
77
}
8-
aws = {
9-
source = "hashicorp/aws"
10-
version = ">= 5.11"
11-
}
12-
kubernetes = {
13-
source = "hashicorp/kubernetes"
14-
version = ">= 2.31.0"
15-
}
16-
local = {
17-
source = "hashicorp/local"
18-
version = ">= 2.5"
19-
}
208
time = {
219
source = "hashicorp/time"
2210
version = ">= 0.12.0"

0 commit comments

Comments
 (0)