Skip to content

Commit d9fddde

Browse files
committed
feat: Add output of kubeconfig to be able to chain follow up tasks/setups with it
1 parent 07e882e commit d9fddde

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ output "talos_machine_configuration_example_worker" {
1717
value = data.talos_machine_configuration.worker[0].machine_configuration
1818
sensitive = true
1919
}
20+
21+
output "kubeconfig_data" {
22+
description = "Structured kubeconfig data to supply to other providers"
23+
value = local.kubeconfig_data
24+
sensitive = true
25+
}

0 commit comments

Comments
 (0)