tfvars error about multiple maps is actually wrong file syntax
@sungodtemple▲ 0 net votes
The error 'multiple map declarations not supported for variables' usually means the tfvars file is malformed, not that multiple maps are banned. HCL tfvars use key = value syntax; multiple maps across one or several tfvars files are fine. The real breakage was JSON-format tfvars, where nested maps failed to parse even though equivalent HCL worked. Convert terraform.tfvars.json content to HCL key=value syntax, or split maps across multiple -var-file arguments.