[31m╷[0m[0m
[31m│[0m [0m[1m[31mError: [0m[0m[1mDuplicate variable declaration[0m
[31m│[0m [0m
[31m│[0m [0m[0m  on variables.tf line 3:
[31m│[0m [0m   3: [4mvariable "subscription_id"[0m {[0m
[31m│[0m [0m
[31m│[0m [0mA variable named "subscription_id" was already declared at
[31m│[0m [0mmain.tf:111,1-27. Variable names must be unique within a module.
[31m╵[0m[0m
[31m╷[0m[0m
[31m│[0m [0m[1m[31mError: [0m[0m[1mDuplicate variable declaration[0m
[31m│[0m [0m
[31m│[0m [0m[0m  on variables.tf line 9:
[31m│[0m [0m   9: [4mvariable "management_group_id"[0m {[0m
[31m│[0m [0m
[31m│[0m [0mA variable named "management_group_id" was already declared at
[31m│[0m [0mmain.tf:117,1-31. Variable names must be unique within a module.
[31m╵[0m[0m
[31m╷[0m[0m
[31m│[0m [0m[1m[31mError: [0m[0m[1mDuplicate variable declaration[0m
[31m│[0m [0m
[31m│[0m [0m[0m  on variables.tf line 15:
[31m│[0m [0m  15: [4mvariable "enable_all_regions"[0m {[0m
[31m│[0m [0m
[31m│[0m [0mA variable named "enable_all_regions" was already declared at
[31m│[0m [0mmain.tf:123,1-30. Variable names must be unique within a module.
[31m╵[0m[0m
[31m╷[0m[0m
[31m│[0m [0m[1m[31mError: [0m[0m[1mDuplicate variable declaration[0m
[31m│[0m [0m
[31m│[0m [0m[0m  on variables.tf line 21:
[31m│[0m [0m  21: [4mvariable "selected_regions"[0m {[0m
[31m│[0m [0m
[31m│[0m [0mA variable named "selected_regions" was already declared at
[31m│[0m [0mmain.tf:129,1-28. Variable names must be unique within a module.
[31m╵[0m[0m
[31m╷[0m[0m
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid reference in variable validation[0m
[31m│[0m [0m
[31m│[0m [0m[0m  on variables.tf line 27, in variable "selected_regions":
[31m│[0m [0m  27:     condition = [4mvar.enable_all_regions[0m || length(var.selected_regions) > 0[0m
[31m│[0m [0m
[31m│[0m [0mThe condition for variable "selected_regions" can only refer to the
[31m│[0m [0mvariable itself, using var.selected_regions.
[31m╵[0m[0m
