Skip to content

Commit

Permalink
chore: bump terraform requirement to 0.13
Browse files Browse the repository at this point in the history
Bump TF to 0.13 and remove old experiments.
  • Loading branch information
xunleii committed Aug 25, 2020
1 parent 9a89adb commit 287956a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
8 changes: 8 additions & 0 deletions examples/hcloud-k3s/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
required_providers {
hcloud = {
source = "terraform-providers/hcloud"
}
}
required_version = ">= 0.13"
}
File renamed without changes.
10 changes: 0 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
terraform {
required_version = "~> 0.12"
experiments = [variable_validation]
required_providers {
http = "~> 1.2"
null = "~> 2.1"
random = "~> 2.2"
}
}

// Generate the k3s token used by all nodes to join the cluster
resource "random_password" "k3s_cluster_secret" {
length = 48
Expand Down
17 changes: 17 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
terraform {
required_providers {
http = {
source = "hashicorp/http"
version = "~> 1.2"
}
null = {
source = "hashicorp/null"
version = "~> 2.1"
}
random = {
source = "hashicorp/random"
version = "~> 2.2"
}
}
required_version = ">= 0.13"
}

0 comments on commit 287956a

Please sign in to comment.