Skip to content

Commit

Permalink
Change simple-install syntax for Terraform v0.12 (poseidon#804)
Browse files Browse the repository at this point in the history
* Switch selector blocks to assignments for Terraform v0.12
  • Loading branch information
spuder authored Jun 17, 2020
1 parent cf17df0 commit 5b61bc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/terraform/simple-install/groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resource "matchbox_group" "default" {
profile = "${matchbox_profile.coreos-install.name}"

# no selector means all machines can be matched
metadata {
metadata = {
ignition_endpoint = "${var.matchbox_http_endpoint}/ignition"
ssh_authorized_key = "${var.ssh_authorized_key}"
}
Expand All @@ -15,11 +15,11 @@ resource "matchbox_group" "node1" {
name = "node1"
profile = "${matchbox_profile.simple.name}"

selector {
selector = {
os = "installed"
}

metadata {
metadata = {
ssh_authorized_key = "${var.ssh_authorized_key}"
}
}

0 comments on commit 5b61bc9

Please sign in to comment.