Update defaults for variables of type list#176
Update defaults for variables of type list#176evansmurithi wants to merge 1 commit intoAzure:masterfrom
Conversation
Terraform converts the given default value to the specified type. Set an empty list `[]` default for variables of type list `list()` Signed-off-by: Evans Murithi <murithievans80@gmail.com>
Or maybe even use set(string) if they are used for loops, to avoid larger diffs when changing a value. |
Great idea! But this time I think the list is ok since we didn't use it for loop, but yes this is a very important principal. |
Thanks @evansmurithi for opening this pr, would you please give me a hint about what we could gain from this change? |
|
@lonegunmanb prior to the change, I was getting an error |
|
MAIN BRANCH PUSH DETECTED DUE TO #241, THIS PR WILL BE UPDATED. |
|
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED. |
1 similar comment
|
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED. |
|
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI. |
1 similar comment
|
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI. |
Terraform converts the given default value to the specified type. Set an
empty list
[]default for variables of type listlist()Signed-off-by: Evans Murithi murithievans80@gmail.com