Skip to content

Instantly share code, notes, and snippets.

@nicusX
Created August 9, 2016 22:09
Show Gist options
  • Save nicusX/54c416e9a2cee17b56f60ca55851b82a to your computer and use it in GitHub Desktop.
Save nicusX/54c416e9a2cee17b56f60ca55851b82a to your computer and use it in GitHub Desktop.
resource "aws_instance" "worker" {
count = 3
...
tags {
Owner = "Lorenzo"
Name = "worker-${count.index}"
ansibleFilter = "Kubernetes01"
ansibleNodeType = "worker"
ansibleNodeName = "worker${count.index}"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment