Count function

Do I just add the count function to add more dev instances? Or is something else needed?
  • post-author-pic
    Chase M
    10-10-2018

    Yes, that seemed to work

  • post-author-pic
    Brandon B
    10-10-2018

    Well done. Not many people come back to let us know that their solution worked. Thank you!

  • post-author-pic
    Chase M
    10-10-2018

    Created variable,  count = "${var.NodeCount}" and 

                                                count = "${var.MasterCount}"

    in main.tf,  then 


    variable "MasterCount" {}

    variable "NodeCount" {}

    in variable.tf file then ,


    MasterCount = "1"

    NodeCount = "8"      

    in .tfvars file

Looking For Team Training?

Learn More