Skip to content

Commit a5d63bf

Browse files
authored
Merge pull request #15 from winlinuxmatt/mbarnes/updating_image
fix
2 parents 702df6d + 4adafc6 commit a5d63bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cluster.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@ output "kubeconfig" {
169169
# Run custom script for further configuration.
170170
resource "null_resource" "run_custom_script" {
171171
provisioner "local-exec" {
172-
command = "mkdir -p ~/.kube ~/.talos && terraform output -raw kubeconfig > ~/.kube/config && terraform output -raw talosconfig > ~/.talos/config && chmod 600 ~/.kube/config ~/.talos/config"
172+
command = "mkdir -p ~/.kube && mkdir -p ~/.talos && terraform output -raw kubeconfig > ~/.kube/config && terraform output -raw talosconfig > ~/.talos/config && chmod 600 ~/.kube/config ~/.talos/config"
173173
}
174174
triggers = {
175175
kubeconfig = talos_cluster_kubeconfig.kubeconfig.kubeconfig_raw
176176
talosconfig = data.talos_client_configuration.talosconfig.talos_config
177+
timestamp = timestamp() # Ensure the resource always detects changes
177178
}
178179
depends_on = [
179180
talos_cluster_kubeconfig.kubeconfig,

files.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
locals {
33
talos = {
4-
version = "v1.8.0"
4+
version = "v1.9.5"
55
}
66
}
77

0 commit comments

Comments
 (0)