Fixing some dangling variables
This commit is contained in:
parent
5d6d21108f
commit
46d67330c2
1 changed files with 2 additions and 2 deletions
|
|
@ -99,12 +99,12 @@ resource "talos_machine_secrets" "this" {}
|
||||||
data "talos_machine_configuration" "this" {
|
data "talos_machine_configuration" "this" {
|
||||||
cluster_name = "${var.cluster_name}"
|
cluster_name = "${var.cluster_name}"
|
||||||
machine_type = "controlplane"
|
machine_type = "controlplane"
|
||||||
cluster_endpoint = "https://10.5.0.0:6443"
|
cluster_endpoint = "https://10.5.0.1:6443"
|
||||||
machine_secrets = talos_machine_secrets.this.machine_secrets
|
machine_secrets = talos_machine_secrets.this.machine_secrets
|
||||||
}
|
}
|
||||||
|
|
||||||
data "talos_client_configuration" "this" {
|
data "talos_client_configuration" "this" {
|
||||||
cluster_name = "example-cluster"
|
cluster_name = "${var.cluster_name}"
|
||||||
client_configuration = talos_machine_secrets.this.client_configuration
|
client_configuration = talos_machine_secrets.this.client_configuration
|
||||||
nodes = ["10.5.0.2"]
|
nodes = ["10.5.0.2"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue