Open estebane-frb opened 9 months ago
Something else to add here is it is only happening on Terraform apply. When I run plan everything seems okay.
Another update: turns out for backend_roles parameter in opensearch_roles_mapping resource I was passing a list within a list. For example:
resource "opensearch_roles_mapping" "readall_and_monitor" {
role_name = "readall_and_monitor"
description = "Maps SAML read-only group to readall_and_monitor "
backend_roles = [[my_backend_role]] # -> incorrect here
}
So I think the bug here is better error messaging validating the input to this variable "backend_roles" be a list of strings and not objects (list of lists in this case)
Hi there, wanted to check in to see if this was reviewed. Unfortunately EOF seems to be commonplace not just for this but for a handful of issues that are hard to debug. I updated one role_mapping to a different value this time for users and EOF has popped back up.
Hi there - another update. Ran today into another EOF file but turns out it was due to an incorrect password in the provider config. So again - EOF seems to be commonplace for multiple types of errors. It would be really helpful if the error handling printed the actual error instaed of hard-to-debug EOF.
Hello, @prudhvigodithi ,would you have a look on this issue, and any comments perhaps ? thanks
What is the bug?
A clear and concise description of the bug. Getting this after upgrading to 2.1.0 and running terraform apply:
How can one reproduce the bug?
Steps to reproduce the behavior. Here is my provider config:
Opensearch URL is an AWS Managed Opensearch cluster with https enabled.
What is the expected behavior?
A clear and concise description of what you expected to happen. Apply runs without EOF errors.
What is your host/environment?
Operating system, version. Amazon Linux, latest version
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
My module here is trying to add an ILM policy. Saw some things:
Do you have any additional context?
Add any other context about the problem. Will add more if I find any