diff --git a/control_plane/main.tf b/control_plane/main.tf index 01cabb5..8daca89 100644 --- a/control_plane/main.tf +++ b/control_plane/main.tf @@ -8,6 +8,9 @@ terraform { } } +provider "talos" { + # Configuration options +} # Load variables from a .tfvars file variable "cluster_name" { @@ -91,22 +94,55 @@ resource "null_resource" "talos_cluster" { } } -resource "null_resource" "talos_cluster_patches" { - depends_on = [null_resource.talos_cluster] - triggers = { - patches_hash = filesha1("${path.module}/patches/controlplane-patch.yaml") - } +resource "talos_machine_secrets" "this" {} - provisioner "local-exec" { - command = <