File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -169,11 +169,12 @@ output "kubeconfig" {
169169# Run custom script for further configuration.
170170resource "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 ,
Original file line number Diff line number Diff line change 11
22locals {
33 talos = {
4- version = " v1.8.0 "
4+ version = " v1.9.5 "
55 }
66}
77
You can’t perform that action at this time.
0 commit comments