Hi,
I am trying to create a Managed AWS ES Domain using Terraform and here is the Error i am getting
2021/03/19 16:07:43 [INFO] backend/local: plan operation completed
e[31m
e[1me[31mError: e[0me[0me[1mList longer than MaxItemse[0m
e[0m on main.tf line 35, in resource “aws_elasticsearch_domain” “my-es-domain”:
35: resource “aws_elasticsearch_domain” “my-es-domain” e[4m{e[0m
e[0m
Attribute supports 1 item maximum, config has 2 declared
e[0me[0m
e[31m
e[1me[31mError: e[0me[0me[1mList longer than MaxItemse[0m
e[0m on main.tf line 35, in resource “aws_elasticsearch_domain” “my-es-domain”:
35: resource “aws_elasticsearch_domain” “my-es-domain” e[4m{e[0m
e[0m
Attribute supports 1 item maximum, config has 2 declared
I have gone through each and every attribute of the service and only two accept a List and i am passing single values for them
Also i tried to get the description of the cluster i have created manually and compared the config i am passing and it is very similar to what i have.
Not sure what i am doing wrong.
Even with Debug log enabled the Error Message won’t list out which attribute is causing the Issue !! Is there a way to log the attribute that is causing the issue ?
Thanks
Sateesh