From 40d4fab47820a6fe7a2d88131df06f0f2374093b Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Tue, 23 Jul 2024 20:51:47 +0530 Subject: [PATCH] chore: bump deps Bump to latest TF provider for talos. Signed-off-by: Noel Georgi --- .../terraform/advanced/.terraform.lock.hcl | 34 ++++---- examples/terraform/advanced/README.md | 12 +-- examples/terraform/advanced/versions.tf | 2 +- examples/terraform/aws/.terraform.lock.hcl | 34 ++++---- examples/terraform/aws/README.md | 22 ++--- examples/terraform/aws/main.tf | 4 +- examples/terraform/aws/outputs.tf | 2 +- examples/terraform/aws/versions.tf | 2 +- examples/terraform/azure/.terraform.lock.hcl | 86 +++++++++---------- examples/terraform/azure/README.md | 24 +++--- examples/terraform/azure/main.tf | 4 +- examples/terraform/azure/outputs.tf | 2 +- examples/terraform/azure/versions.tf | 2 +- examples/terraform/basic/.terraform.lock.hcl | 34 ++++---- examples/terraform/basic/README.md | 20 ++--- examples/terraform/basic/main.tf | 2 +- examples/terraform/basic/outputs.tf | 2 +- examples/terraform/basic/versions.tf | 2 +- .../digitalocean/.terraform.lock.hcl | 34 ++++---- examples/terraform/digitalocean/README.md | 20 ++--- examples/terraform/digitalocean/versions.tf | 2 +- .../equinix-metal/.terraform.lock.hcl | 34 ++++---- examples/terraform/equinix-metal/README.md | 22 ++--- examples/terraform/equinix-metal/main.tf | 4 +- examples/terraform/equinix-metal/outputs.tf | 2 +- examples/terraform/equinix-metal/versions.tf | 2 +- .../hcloud/terraform/.terraform.lock.hcl | 34 ++++---- examples/terraform/hcloud/terraform/README.md | 16 ++-- examples/terraform/hcloud/terraform/main.tf | 2 +- .../terraform/hcloud/terraform/outputs.tf | 2 +- .../terraform/hcloud/terraform/versions.tf | 2 +- examples/terraform/vultr/.terraform.lock.hcl | 34 ++++---- examples/terraform/vultr/README.md | 20 ++--- examples/terraform/vultr/main.tf | 2 +- examples/terraform/vultr/outputs.tf | 2 +- examples/terraform/vultr/versions.tf | 2 +- 36 files changed, 263 insertions(+), 263 deletions(-) diff --git a/examples/terraform/advanced/.terraform.lock.hcl b/examples/terraform/advanced/.terraform.lock.hcl index 5b9cc38..9d2d3c0 100644 --- a/examples/terraform/advanced/.terraform.lock.hcl +++ b/examples/terraform/advanced/.terraform.lock.hcl @@ -64,24 +64,24 @@ provider "registry.terraform.io/hashicorp/tls" { } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/advanced/README.md b/examples/terraform/advanced/README.md index b307515..993a523 100644 --- a/examples/terraform/advanced/README.md +++ b/examples/terraform/advanced/README.md @@ -27,7 +27,7 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf |------|---------| | [libvirt](#requirement\_libvirt) | 0.7.1 | | [random](#requirement\_random) | 3.5.1 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | | [tls](#requirement\_tls) | 4.0.4 | ## Providers @@ -36,7 +36,7 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf |------|---------| | [libvirt](#provider\_libvirt) | 0.7.1 | | [random](#provider\_random) | 3.5.1 | -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | | [tls](#provider\_tls) | 4.0.4 | ## Modules @@ -55,8 +55,8 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | [random_id.cluster_id](https://registry.terraform.io/providers/hashicorp/random/3.5.1/docs/resources/id) | resource | | [random_id.cluster_secret](https://registry.terraform.io/providers/hashicorp/random/3.5.1/docs/resources/id) | resource | | [random_id.secretbox_encryption_secret](https://registry.terraform.io/providers/hashicorp/random/3.5.1/docs/resources/id) | resource | -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | | [tls_cert_request.client_csr](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/cert_request) | resource | | [tls_cert_request.k8s_client_csr](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/cert_request) | resource | | [tls_locally_signed_cert.client_cert](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/locally_signed_cert) | resource | @@ -72,8 +72,8 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | [tls_self_signed_cert.k8s_aggregator_cert](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/self_signed_cert) | resource | | [tls_self_signed_cert.k8s_cert](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/self_signed_cert) | resource | | [tls_self_signed_cert.os_cert](https://registry.terraform.io/providers/hashicorp/tls/4.0.4/docs/resources/self_signed_cert) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_machine_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_machine_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/advanced/versions.tf b/examples/terraform/advanced/versions.tf index c192384..2f2660a 100644 --- a/examples/terraform/advanced/versions.tf +++ b/examples/terraform/advanced/versions.tf @@ -14,7 +14,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/aws/.terraform.lock.hcl b/examples/terraform/aws/.terraform.lock.hcl index a4b0d58..dda98ca 100644 --- a/examples/terraform/aws/.terraform.lock.hcl +++ b/examples/terraform/aws/.terraform.lock.hcl @@ -25,24 +25,24 @@ provider "registry.terraform.io/hashicorp/aws" { } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/aws/README.md b/examples/terraform/aws/README.md index 350135f..fd70f79 100644 --- a/examples/terraform/aws/README.md +++ b/examples/terraform/aws/README.md @@ -5,14 +5,14 @@ |------|---------| | [terraform](#requirement\_terraform) | ~> 1.3 | | [aws](#requirement\_aws) | ~> 4.0 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| | [aws](#provider\_aws) | 4.67.0 | -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | ## Modules @@ -31,17 +31,17 @@ |------|------| | [aws_iam_policy.control_plane_ccm_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource | | [aws_iam_policy.worker_ccm_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource | -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | | [aws_ami.talos](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | | [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_health) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/cluster_health) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/aws/main.tf b/examples/terraform/aws/main.tf index 29e7cb2..222780c 100644 --- a/examples/terraform/aws/main.tf +++ b/examples/terraform/aws/main.tf @@ -385,7 +385,7 @@ data "talos_client_configuration" "this" { nodes = flatten([module.talos_control_plane_nodes.*.public_ip, flatten([for node in module.talos_worker_group : node.private_ip])]) } -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { depends_on = [talos_machine_bootstrap.this] client_configuration = talos_machine_secrets.this.client_configuration @@ -397,7 +397,7 @@ data "talos_cluster_health" "this" { depends_on = [ talos_machine_configuration_apply.controlplane, talos_machine_configuration_apply.worker_group, - data.talos_cluster_kubeconfig.this + talos_cluster_kubeconfig.this ] client_configuration = talos_machine_secrets.this.client_configuration diff --git a/examples/terraform/aws/outputs.tf b/examples/terraform/aws/outputs.tf index 6f1a1cc..de8025e 100644 --- a/examples/terraform/aws/outputs.tf +++ b/examples/terraform/aws/outputs.tf @@ -6,6 +6,6 @@ output "talosconfig" { output "kubeconfig" { description = "The generated kubeconfig." - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/aws/versions.tf b/examples/terraform/aws/versions.tf index d453d55..b794419 100644 --- a/examples/terraform/aws/versions.tf +++ b/examples/terraform/aws/versions.tf @@ -7,7 +7,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/azure/.terraform.lock.hcl b/examples/terraform/azure/.terraform.lock.hcl index 5d9dc27..6ca3e98 100644 --- a/examples/terraform/azure/.terraform.lock.hcl +++ b/examples/terraform/azure/.terraform.lock.hcl @@ -2,64 +2,64 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/hashicorp/azurerm" { - version = "3.102.0" + version = "3.113.0" constraints = ">= 3.0.0, ~> 3.0, >= 3.11.0, < 4.0.0" hashes = [ - "h1:tL+IbI+VG7H0uLWw2e2sS8NQT2fL53vqcrv8lPwYwwY=", - "zh:01f61e7b21c55dcd331957e1f451e6a77ff757309ab21d503560817988aeb1b3", - "zh:38691fef1a07ca6bbedfa411695eb79ca6cbf2eb9313aaec0b13d84d68e4db3a", - "zh:47bc971cb7904a7f29268464eaf1a52a6723638f1af784412fc5a1763711fa2b", - "zh:5ed43e2260cdf8a2c8ca068087ddcb28543b04dd2caf14b6480e2701b0d160ca", - "zh:6d581a9b58abe313e480594b719785e3f3b3d913b38c6fa59060793183247866", - "zh:7408385b27c3916ff012686f783b9b6940b150e449d60e0fca84cbe2385fe6c0", - "zh:9807cf604238d2d7fc13c3da2accf97eba270f1e8385f426b86bb00518725a6c", - "zh:99d268038eb3c5d10382942a26abb033f38941cf28d07cb2347a52a12544b0d8", - "zh:9b8bdbcd5f7299295a163fe1bd5886846af20292d80dd3e980d5df28cac7ea4f", - "zh:a8d925f922cd51a423cb1f47c330a0e24d663210e1ffceee3a43841531882a42", - "zh:be9b448b793c09f312448da17d972949a54a13c46854eef1d673378ae4b71963", + "h1:eEUtt0lrLdpVaF6FiDq8BGQPgEcykmhj0aNIL7hTOGw=", + "zh:12479f5664288943400447b55e50df675c28ae82ad8d373cc2e5682f3a3411f0", + "zh:1b42a14e80e568429d3b55fed753ca3ef0df9dcdfa107890d7264599c020940f", + "zh:381be6ca617f848de3baa3985a6e1788e91a803afe04a3c5c727453528b6310d", + "zh:3e70e2e07b6db1c363de3e5d0ca47f27fc956473df03329c7d2e54d3ac29176b", + "zh:87c7633aeaa828098c6055da9e67d4acaf4b46748b6b3f0267e105e55f05de25", + "zh:8d0d98226901f874770dd5220d4701a12ae8bd586994615aa7dcba12b9736bec", + "zh:9fd913acd42a60c3a90a18ce803567ef861db8779a59aacced91f2cbd86de9d9", + "zh:b6f3f7ae0a055437fb36c139af9bb3135e7f4dad172157ae1eb0177dc74d703f", + "zh:b927027ba2bf40d34e03d742fd2b6c5299023b5ab8e6f05e50aac76a46ad1094", + "zh:ceb5187b9d2a439f4e48944f3ffeeeaf47a03dbe6f3325ea1775bf659ce0aa88", "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + "zh:fb9d78dfeca7489bffca9b1a1f3abee7f16dbbcba31388aea1102062c1d6dce8", ] } provider "registry.terraform.io/hashicorp/random" { - version = "3.6.1" + version = "3.6.2" constraints = ">= 3.0.0" hashes = [ - "h1:1OlP753r4lOKlBprL0HdZGWerm5DCabD5Mli8k8lWAg=", - "zh:2a0ec154e39911f19c8214acd6241e469157489fc56b6c739f45fbed5896a176", - "zh:57f4e553224a5e849c99131f5e5294be3a7adcabe2d867d8a4fef8d0976e0e52", - "zh:58f09948c608e601bd9d0a9e47dcb78e2b2c13b4bda4d8f097d09152ea9e91c5", - "zh:5c2a297146ed6fb3fe934c800e78380f700f49ff24dbb5fb5463134948e3a65f", + "h1:wmG0QFjQ2OfyPy6BB7mQ57WtoZZGGV07uAPQeDmIrAE=", + "zh:0ef01a4f81147b32c1bea3429974d4d104bbc4be2ba3cfa667031a8183ef88ec", + "zh:1bcd2d8161e89e39886119965ef0f37fcce2da9c1aca34263dd3002ba05fcb53", + "zh:37c75d15e9514556a5f4ed02e1548aaa95c0ecd6ff9af1119ac905144c70c114", + "zh:4210550a767226976bc7e57d988b9ce48f4411fa8a60cd74a6b246baf7589dad", + "zh:562007382520cd4baa7320f35e1370ffe84e46ed4e2071fdc7e4b1a9b1f8ae9b", + "zh:5efb9da90f665e43f22c2e13e0ce48e86cae2d960aaf1abf721b497f32025916", + "zh:6f71257a6b1218d02a573fc9bff0657410404fb2ef23bc66ae8cd968f98d5ff6", "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", - "zh:7ce41e26f0603e31cdac849085fc99e5cd5b3b73414c6c6d955c0ceb249b593f", - "zh:8c9e8d30c4ef08ee8bcc4294dbf3c2115cd7d9049c6ba21422bd3471d92faf8a", - "zh:93e91be717a7ffbd6410120eb925ebb8658cc8f563de35a8b53804d33c51c8b0", - "zh:982542e921970d727ce10ed64795bf36c4dec77a5db0741d4665230d12250a0d", - "zh:b9d1873f14d6033e216510ef541c891f44d249464f13cc07d3f782d09c7d18de", - "zh:cfe27faa0bc9556391c8803ade135a5856c34a3fe85b9ae3bdd515013c0c87c1", - "zh:e4aabf3184bbb556b89e4b195eab1514c86a2914dd01c23ad9813ec17e863a8a", + "zh:9647e18f221380a85f2f0ab387c68fdafd58af6193a932417299cdcae4710150", + "zh:bb6297ce412c3c2fa9fec726114e5e0508dd2638cad6a0cb433194930c97a544", + "zh:f83e925ed73ff8a5ef6e3608ad9225baa5376446349572c2449c0c0b3cf184b7", + "zh:fbef0781cb64de76b1df1ca11078aecba7800d82fd4a956302734999cfd9a4af", ] } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/azure/README.md b/examples/terraform/azure/README.md index c512923..def34e1 100644 --- a/examples/terraform/azure/README.md +++ b/examples/terraform/azure/README.md @@ -44,14 +44,14 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf |------|---------| | [terraform](#requirement\_terraform) | ~> 1.3 | | [azurerm](#requirement\_azurerm) | ~> 3.0 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| -| [azurerm](#provider\_azurerm) | 3.102.0 | -| [talos](#provider\_talos) | 0.5.0 | +| [azurerm](#provider\_azurerm) | 3.113.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | ## Modules @@ -69,15 +69,15 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf |------|------| | [azurerm_network_interface_backend_address_pool_association.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_interface_backend_address_pool_association) | resource | | [azurerm_resource_group.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource | -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_health) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/cluster_health) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/azure/main.tf b/examples/terraform/azure/main.tf index 219d50a..9f1a2f3 100644 --- a/examples/terraform/azure/main.tf +++ b/examples/terraform/azure/main.tf @@ -217,7 +217,7 @@ data "talos_client_configuration" "this" { nodes = flatten([module.talos_control_plane_nodes.network_interface_private_ip, flatten([for node in module.talos_worker_group : node.network_interface_private_ip])]) } -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { depends_on = [talos_machine_bootstrap.this] client_configuration = talos_machine_secrets.this.client_configuration @@ -229,7 +229,7 @@ data "talos_cluster_health" "this" { depends_on = [ talos_machine_configuration_apply.controlplane, talos_machine_configuration_apply.worker_group, - data.talos_cluster_kubeconfig.this + talos_cluster_kubeconfig.this ] client_configuration = talos_machine_secrets.this.client_configuration diff --git a/examples/terraform/azure/outputs.tf b/examples/terraform/azure/outputs.tf index bfa7d25..b13a726 100644 --- a/examples/terraform/azure/outputs.tf +++ b/examples/terraform/azure/outputs.tf @@ -4,6 +4,6 @@ output "talosconfig" { } output "kubeconfig" { - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/azure/versions.tf b/examples/terraform/azure/versions.tf index 1b9f925..89f53dd 100644 --- a/examples/terraform/azure/versions.tf +++ b/examples/terraform/azure/versions.tf @@ -7,7 +7,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/basic/.terraform.lock.hcl b/examples/terraform/basic/.terraform.lock.hcl index 7751c5d..2f0d3a3 100644 --- a/examples/terraform/basic/.terraform.lock.hcl +++ b/examples/terraform/basic/.terraform.lock.hcl @@ -2,24 +2,24 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/basic/README.md b/examples/terraform/basic/README.md index ff21ac0..0b8b1ed 100644 --- a/examples/terraform/basic/README.md +++ b/examples/terraform/basic/README.md @@ -24,13 +24,13 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | Name | Version | |------|---------| -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | ## Modules @@ -40,14 +40,14 @@ No modules. | Name | Type | |------|------| -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/basic/main.tf b/examples/terraform/basic/main.tf index 9140dd4..b9a1cbe 100644 --- a/examples/terraform/basic/main.tf +++ b/examples/terraform/basic/main.tf @@ -54,7 +54,7 @@ resource "talos_machine_bootstrap" "this" { node = [for k, v in var.node_data.controlplanes : k][0] } -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { depends_on = [talos_machine_bootstrap.this] client_configuration = talos_machine_secrets.this.client_configuration node = [for k, v in var.node_data.controlplanes : k][0] diff --git a/examples/terraform/basic/outputs.tf b/examples/terraform/basic/outputs.tf index bfa7d25..b13a726 100644 --- a/examples/terraform/basic/outputs.tf +++ b/examples/terraform/basic/outputs.tf @@ -4,6 +4,6 @@ output "talosconfig" { } output "kubeconfig" { - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/basic/versions.tf b/examples/terraform/basic/versions.tf index 9761ad9..064a8b9 100644 --- a/examples/terraform/basic/versions.tf +++ b/examples/terraform/basic/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/digitalocean/.terraform.lock.hcl b/examples/terraform/digitalocean/.terraform.lock.hcl index c76de55..af01ce0 100644 --- a/examples/terraform/digitalocean/.terraform.lock.hcl +++ b/examples/terraform/digitalocean/.terraform.lock.hcl @@ -45,24 +45,24 @@ provider "registry.terraform.io/hashicorp/tls" { } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/digitalocean/README.md b/examples/terraform/digitalocean/README.md index 318999c..e569884 100644 --- a/examples/terraform/digitalocean/README.md +++ b/examples/terraform/digitalocean/README.md @@ -24,14 +24,14 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | Name | Version | |------|---------| | [digitalocean](#requirement\_digitalocean) | 2.28.0 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| | [digitalocean](#provider\_digitalocean) | 2.28.0 | -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | | [tls](#provider\_tls) | 4.0.5 | ## Modules @@ -47,15 +47,15 @@ No modules. | [digitalocean_droplet.talos_workers](https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.0/docs/resources/droplet) | resource | | [digitalocean_loadbalancer.talos_lb](https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.0/docs/resources/loadbalancer) | resource | | [digitalocean_ssh_key.fake_ssh_key](https://registry.terraform.io/providers/digitalocean/digitalocean/2.28.0/docs/resources/ssh_key) | resource | -| [talos_machine_bootstrap.bootstrap](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.cp_config_apply](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker_config_apply](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.machine_secrets](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | +| [talos_machine_bootstrap.bootstrap](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.cp_config_apply](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker_config_apply](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.machine_secrets](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | | [tls_private_key.fake_ssh_key](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource | -| [talos_client_configuration.talosconfig](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_kubeconfig.kubeconfig](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.machineconfig_cp](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.machineconfig_worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_client_configuration.talosconfig](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_cluster_kubeconfig.kubeconfig](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/cluster_kubeconfig) | data source | +| [talos_machine_configuration.machineconfig_cp](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.machineconfig_worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/digitalocean/versions.tf b/examples/terraform/digitalocean/versions.tf index e05a2b0..078b685 100644 --- a/examples/terraform/digitalocean/versions.tf +++ b/examples/terraform/digitalocean/versions.tf @@ -8,7 +8,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/equinix-metal/.terraform.lock.hcl b/examples/terraform/equinix-metal/.terraform.lock.hcl index 5ee661e..4eea3ac 100644 --- a/examples/terraform/equinix-metal/.terraform.lock.hcl +++ b/examples/terraform/equinix-metal/.terraform.lock.hcl @@ -24,24 +24,24 @@ provider "registry.terraform.io/equinix/equinix" { } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/equinix-metal/README.md b/examples/terraform/equinix-metal/README.md index 5ad38c9..a4d0918 100644 --- a/examples/terraform/equinix-metal/README.md +++ b/examples/terraform/equinix-metal/README.md @@ -32,14 +32,14 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | Name | Version | |------|---------| | [equinix](#requirement\_equinix) | 1.33.0 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| | [equinix](#provider\_equinix) | 1.33.0 | -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | ## Modules @@ -52,15 +52,15 @@ No modules. | [equinix_metal_device.talos_control_plane_nodes](https://registry.terraform.io/providers/equinix/equinix/1.33.0/docs/resources/metal_device) | resource | | [equinix_metal_device.talos_worker_group](https://registry.terraform.io/providers/equinix/equinix/1.33.0/docs/resources/metal_device) | resource | | [equinix_metal_reserved_ip_block.talos_control_plane_vip](https://registry.terraform.io/providers/equinix/equinix/1.33.0/docs/resources/metal_reserved_ip_block) | resource | -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_health) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_cluster_health.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/cluster_health) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker_group](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/equinix-metal/main.tf b/examples/terraform/equinix-metal/main.tf index 893c09a..37d72e7 100644 --- a/examples/terraform/equinix-metal/main.tf +++ b/examples/terraform/equinix-metal/main.tf @@ -124,7 +124,7 @@ data "talos_client_configuration" "this" { nodes = flatten([equinix_metal_device.talos_control_plane_nodes.*.access_public_ipv4, flatten([for node in equinix_metal_device.talos_worker_group : node.access_public_ipv4])]) } -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { depends_on = [talos_machine_bootstrap.this] client_configuration = talos_machine_secrets.this.client_configuration @@ -136,7 +136,7 @@ data "talos_cluster_health" "this" { depends_on = [ talos_machine_configuration_apply.controlplane, talos_machine_configuration_apply.worker_group, - data.talos_cluster_kubeconfig.this + talos_cluster_kubeconfig.this ] client_configuration = talos_machine_secrets.this.client_configuration diff --git a/examples/terraform/equinix-metal/outputs.tf b/examples/terraform/equinix-metal/outputs.tf index bfa7d25..b13a726 100644 --- a/examples/terraform/equinix-metal/outputs.tf +++ b/examples/terraform/equinix-metal/outputs.tf @@ -4,6 +4,6 @@ output "talosconfig" { } output "kubeconfig" { - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/equinix-metal/versions.tf b/examples/terraform/equinix-metal/versions.tf index 618f458..194ec5c 100644 --- a/examples/terraform/equinix-metal/versions.tf +++ b/examples/terraform/equinix-metal/versions.tf @@ -8,7 +8,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/hcloud/terraform/.terraform.lock.hcl b/examples/terraform/hcloud/terraform/.terraform.lock.hcl index e3a16d0..40b820d 100644 --- a/examples/terraform/hcloud/terraform/.terraform.lock.hcl +++ b/examples/terraform/hcloud/terraform/.terraform.lock.hcl @@ -24,24 +24,24 @@ provider "registry.terraform.io/hetznercloud/hcloud" { } provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/hcloud/terraform/README.md b/examples/terraform/hcloud/terraform/README.md index 6d8fcc6..959353d 100644 --- a/examples/terraform/hcloud/terraform/README.md +++ b/examples/terraform/hcloud/terraform/README.md @@ -4,14 +4,14 @@ | Name | Version | |------|---------| | [hcloud](#requirement\_hcloud) | 1.35.2 | -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | ## Providers | Name | Version | |------|---------| | [hcloud](#provider\_hcloud) | 1.35.2 | -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | ## Modules @@ -32,12 +32,12 @@ No modules. | [hcloud_server.controlplane_server](https://registry.terraform.io/providers/hetznercloud/hcloud/1.35.2/docs/resources/server) | resource | | [hcloud_server.worker_server](https://registry.terraform.io/providers/hetznercloud/hcloud/1.35.2/docs/resources/server) | resource | | [hcloud_volume.volumes](https://registry.terraform.io/providers/hetznercloud/hcloud/1.35.2/docs/resources/volume) | resource | -| [talos_machine_bootstrap.bootstrap](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.bootstrap](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/hcloud/terraform/main.tf b/examples/terraform/hcloud/terraform/main.tf index 0eae998..ae52dfa 100644 --- a/examples/terraform/hcloud/terraform/main.tf +++ b/examples/terraform/hcloud/terraform/main.tf @@ -161,7 +161,7 @@ resource "hcloud_volume" "volumes" { } # kubeconfig -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { client_configuration = talos_machine_secrets.this.client_configuration node = hcloud_server.controlplane_server.ipv4_address wait = true diff --git a/examples/terraform/hcloud/terraform/outputs.tf b/examples/terraform/hcloud/terraform/outputs.tf index bfa7d25..b13a726 100644 --- a/examples/terraform/hcloud/terraform/outputs.tf +++ b/examples/terraform/hcloud/terraform/outputs.tf @@ -4,6 +4,6 @@ output "talosconfig" { } output "kubeconfig" { - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/hcloud/terraform/versions.tf b/examples/terraform/hcloud/terraform/versions.tf index f91caae..9d4c152 100644 --- a/examples/terraform/hcloud/terraform/versions.tf +++ b/examples/terraform/hcloud/terraform/versions.tf @@ -8,7 +8,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } } diff --git a/examples/terraform/vultr/.terraform.lock.hcl b/examples/terraform/vultr/.terraform.lock.hcl index c6037b6..d365801 100644 --- a/examples/terraform/vultr/.terraform.lock.hcl +++ b/examples/terraform/vultr/.terraform.lock.hcl @@ -2,25 +2,25 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/siderolabs/talos" { - version = "0.5.0" - constraints = "0.5.0" + version = "0.6.0-alpha.1" + constraints = "0.6.0-alpha.1" hashes = [ - "h1:xogkLLCrJJmd278E+vNMnmQgaMD05Gd1QXN914xgVec=", - "zh:0f71f2624576224c9bc924b136b601b734243efa7a7ad8280dfd8bd583e4afa5", + "h1:k9EvpEqKd9Twa2JGa7Xyzx0PsnbtaqfmHLitrbi1BuM=", + "zh:0e1b2168f8fe1fe922a017ce11b2686666d249e76c46878fee04409689fe86c1", "zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d", - "zh:33c50dacc5029fa20caed702001fb1439899c94f203b1f37dccb970f504bca45", - "zh:3c97a6e2692b88d3f4631a3f8769146f602c210e881b46fa1b3b82c545e51cd1", - "zh:44077a137613bcfe29eef00315b5aa50d83390c3c727580a4ff0f4b87f22d228", - "zh:5bd02f278aec5567f94dd057d1c758363998ce581ff17b0869515bb682c02186", - "zh:80f40939bc3b55f0005c03b77122ceea86ec4deb82f5557950a97ad96fbb1557", - "zh:94c1b17f25bc30eacde926e46f196f1f135032674730d9f50c986ef6b7a854f0", - "zh:95ad665b2fdeed38180f5c471164833a34d07c1ef0470c1652565fe8cf4e9c4a", - "zh:a50ef6088afcb129c176dd4ba86c345e9be7b14358bb3b21c34f06930d8f39ef", - "zh:aa71da1da00ed66f1dddf1b69c10b829f24ac89e207de07d32c455dd04482096", - "zh:abb7eeb2b089081b4814ed80a295673e1a92f82ce092dde37b5bc92e75efec2c", - "zh:db9b9b54a0db5ae151376d5a73e0d28497c3e06181840e71ef8349213ac03e50", - "zh:e50ed8aa90b736508fce63680e8339240cecb74709ab9563d34d2c2ce7bc8445", - "zh:f3a279723ff31a095d7bfff21857abfcc9a2cfdeeea8521d179630ae6565d581", + "zh:1c6b932bcd784a84686d989d0e896da17ed49d83a9ff1153e4bb5e0fd8e5cacb", + "zh:223bab06817dffeb5eb6dd7a39ddb40c22e2c6dac55734b7bb89482c50c1be3d", + "zh:2743261af101ae73ace97f7a69c58d4de085d1f8e265603c56064698cd9368a2", + "zh:2d53da2a40e699c910d96f72b223e4bffb6cab9f4cb6337d230d1469d70dab94", + "zh:5d4aa9d6d0d68c7be228c8d4e6aadc9a97ca412fe3554759cfb263c3181fe570", + "zh:5ecf6898b3385486ebeb007a256a5bec4770ce20bbf876b4cc22b9f0dbf3efb6", + "zh:72e38809416e68106c940e4de7c35ea9bc1a1a1073c8d58c56d527fc8b06f995", + "zh:8bd7f8d1c8f253b885a0dcad0a06d94da9773d6be4056e74987bb99ca9f8d3cb", + "zh:a03ac34c8e18b7e69ec0dc35486508ea23ca52970bc0c749c853d7170cceade4", + "zh:a6c66b5ea2294b52ce93487d5dbc2b3e09e5b2bc1b9dd8c55a707756cad47a78", + "zh:bde91d836aa25d0bb7991fb87a311f07b7285e675d66475ff9902954c443d43d", + "zh:ee44d80e7b85c82039c18aad55f202429b29e4ae37b2b4ff4fb9b74c3ff7c3d9", + "zh:fbf37d89ad8e702b6cc375d0e9876e524959b43de4576a2d4c91110f43cd11b8", ] } diff --git a/examples/terraform/vultr/README.md b/examples/terraform/vultr/README.md index 3015988..ea28239 100644 --- a/examples/terraform/vultr/README.md +++ b/examples/terraform/vultr/README.md @@ -22,14 +22,14 @@ Getting the kubeconfig and talosconfig for this cluster can be done with `terraf | Name | Version | |------|---------| -| [talos](#requirement\_talos) | 0.5.0 | +| [talos](#requirement\_talos) | 0.6.0-alpha.1 | | [vultr](#requirement\_vultr) | 2.12.0 | ## Providers | Name | Version | |------|---------| -| [talos](#provider\_talos) | 0.5.0 | +| [talos](#provider\_talos) | 0.6.0-alpha.1 | | [vultr](#provider\_vultr) | 2.12.0 | ## Modules @@ -40,17 +40,17 @@ No modules. | Name | Type | |------|------| -| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_bootstrap) | resource | -| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_configuration_apply.worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_configuration_apply) | resource | -| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/resources/machine_secrets) | resource | +| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/cluster_kubeconfig) | resource | +| [talos_machine_bootstrap.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/resources/machine_secrets) | resource | | [vultr_instance.talos_control_plane](https://registry.terraform.io/providers/vultr/vultr/2.12.0/docs/resources/instance) | resource | | [vultr_instance.talos_workers](https://registry.terraform.io/providers/vultr/vultr/2.12.0/docs/resources/instance) | resource | | [vultr_load_balancer.talos_lb](https://registry.terraform.io/providers/vultr/vultr/2.12.0/docs/resources/load_balancer) | resource | -| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/client_configuration) | data source | -| [talos_cluster_kubeconfig.this](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/cluster_kubeconfig) | data source | -| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | -| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.5.0/docs/data-sources/machine_configuration) | data source | +| [talos_client_configuration.this](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/client_configuration) | data source | +| [talos_machine_configuration.controlplane](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.worker](https://registry.terraform.io/providers/siderolabs/talos/0.6.0-alpha.1/docs/data-sources/machine_configuration) | data source | ## Inputs diff --git a/examples/terraform/vultr/main.tf b/examples/terraform/vultr/main.tf index dc76456..f2db711 100644 --- a/examples/terraform/vultr/main.tf +++ b/examples/terraform/vultr/main.tf @@ -84,7 +84,7 @@ resource "talos_machine_bootstrap" "this" { node = vultr_instance.talos_control_plane[0].main_ip } -data "talos_cluster_kubeconfig" "this" { +resource "talos_cluster_kubeconfig" "this" { client_configuration = talos_machine_secrets.this.client_configuration node = vultr_instance.talos_control_plane[0].main_ip } diff --git a/examples/terraform/vultr/outputs.tf b/examples/terraform/vultr/outputs.tf index bfa7d25..b13a726 100644 --- a/examples/terraform/vultr/outputs.tf +++ b/examples/terraform/vultr/outputs.tf @@ -4,6 +4,6 @@ output "talosconfig" { } output "kubeconfig" { - value = data.talos_cluster_kubeconfig.this.kubeconfig_raw + value = talos_cluster_kubeconfig.this.kubeconfig_raw sensitive = true } diff --git a/examples/terraform/vultr/versions.tf b/examples/terraform/vultr/versions.tf index 04c3ff0..edc795b 100644 --- a/examples/terraform/vultr/versions.tf +++ b/examples/terraform/vultr/versions.tf @@ -8,7 +8,7 @@ terraform { } talos = { source = "siderolabs/talos" - version = "0.5.0" + version = "0.6.0-alpha.1" } } }