digitalocean / navigators-guide

Book and code examples that help to build infrastructure on DigitalOcean
76 stars 9 forks source link

incorrect config file in chapter 4? #29

Closed hazel-nut closed 6 years ago

hazel-nut commented 6 years ago

in chapter 4:

Open up variables.tf and change variable node_count to 5.

variables.tf's default is already 5, and i think the node_count variable to change is actually in terraform.tfvars. confirm?

jonschwenn commented 6 years ago

There wasn't a terraform.tfvars.sample file in the chapter 4 folders. To standardize each of the examples and for it to match with the content, I added them. There maybe redundancy, or we'll need to combine the variables.tf file with the tfvars sample, but make sure that it's commented clearly.

jonschwenn commented 6 years ago

We are going to change the variables.tf default declaration back to 3 and change the copy to reflect this by mentioning to add an override to node_count terraform.tfvars file. 👍