Error: Missing argument separator
on .terraform/init-from-module/root/alibaba-terraform-alicloud-ecs-instance-063c382/main.tf line 79:
79: instance_id = "${element(alicloud_instance.instances.*.id, count.index%var.number_of_instances)}"
A comma is required to separate each function argument from the next.
It seems like % is not being recognized as an operator here and instead the parser thinks it has found the end of the expression.
In an expression in the
alibaba/ecs-instance/alicloud
Terraform Registry module there is a modulo operator that is not parsing correctly:It seems like
%
is not being recognized as an operator here and instead the parser thinks it has found the end of the expression.