Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 2ceb02d

Browse files
authored
Merge pull request #64 from Charliekenney23/tf-1.0-support
add support for terraform 1.0.0
2 parents a9b8cbd + 490634e commit 2ceb02d

File tree

5 files changed

+62
-5
lines changed

5 files changed

+62
-5
lines changed

.terraform.lock.hcl

+58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/instances/outputs.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
output "public_ip_address" {
33
depends_on = [linode_instance.instance[0]]
44
description = "Public IP Address of the first instance in the group"
5-
value = element(concat(linode_instance.instance.*.ip_address, list("")), 0)
5+
value = element(concat(linode_instance.instance.*.ip_address, [""]), 0)
66
}
77

88
// todo: this doesnt make sense in ha -- return all?
99
output "private_ip_address" {
1010
description = "Private IP Address of the first instance in the group"
1111
depends_on = [linode_instance.instance[0]]
12-
value = element(concat(linode_instance.instance.*.private_ip_address, list("")), 0)
12+
value = element(concat(linode_instance.instance.*.private_ip_address, [""]), 0)
1313
}
1414

1515
output "nodes_public_ip" {

modules/masters/outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ locals {
1515
command = ""
1616
}
1717

18-
kubeadm_join_results = concat(data.external.kubeadm_join.*.result, list(local.result))
18+
kubeadm_join_results = concat(data.external.kubeadm_join.*.result, [local.result])
1919
kubeadm_join_command = lookup(local.kubeadm_join_results["0"], "command", "")
2020
}
2121

terraform.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
terraform {
2-
required_version = "~> 0.13.0"
2+
required_version = "~> 1.0.0"
33
}

versions.tf

-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ terraform {
1313
version = "~> 3.0.0"
1414
}
1515
}
16-
required_version = ">= 0.13"
1716
}

0 commit comments

Comments
 (0)