-
Notifications
You must be signed in to change notification settings - Fork 190
update variable min/max to single variable #49
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I agree this is probably the right change.
How did you test this? As far as I can see, the root main.tf
has not been updated to use this new input variable...
We are using the module from I will have a look at |
Thanks! Kicking off tests now. |
Re-running the tests |
This time, two tests failed again:
Looks like you forgot to update some examples? Please test more thoroughly. |
We never used the default example, but our module is running in production quite successfully. It is rather hard to test as I do not have any access to the output of your CircleCI and if all contributors are expected to spin up the test example scripts on their own and all the testing this would lead to rather stale development in my opinion. Anyway the client example is exactly the same as the server example, which passes the test and runs in our production environment. I cannot see where the error is, if you can please point me in the right direction and I will fix it. |
Anyway I found the error in the separate example. Fixed it. |
The tests are automated. Docs are here: https://github.com/hashicorp/terraform-aws-nomad/tree/master/test
Thanks. I'll kick off the tests again shortly. |
|
Given the repeatability of the cluster size changing to a single value to also maintain coherence with the consul module seems like a good idea.