I'm trying to use terraform chef provider https://www.terraform.io/docs/providers/chef/index.html for better managing all nodes in source control.
Example:
resource "chef_node" "example" {
name = "example-environment"
environment_name = "${chef_environment.example.name}"
run_list = ["recipe[example]", "role[app_server]"]
}
But when i bootstrap node via knife bootstrap, it creates new node and client on chef-server. As a result it ovewrites node's configuration created via terraform, i.e run_list, env etc...
Does anybody use terrafrom for managing chef nodes configuration? How to bootsrap node without creation node and client on chef-server?