-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] invalid character 'A' looking for beginning of value #169
Comments
[Triage] @nikki603 Is custom endpoint configured? https://docs.aws.amazon.com/opensearch-service/latest/developerguide/customendpoint.html |
@rblcoder Yes it's configured. I confirmed the custom URL works various ways like in browser to access the Dashboard, Postman requests, and Logstash output plugin. |
@nikki603 could you check if setting insecure to true helps in the OpenSearch terraform provider? |
@rblcoder I still get the same error |
@nikki603 What is the authentication mode you are using? Is it basic authentication or something else? |
@rblcoder fine grain access control is enabled so I'm using IAM auth. I'm using AWS SSO locally. When running from a CI/CD pipeline I will be using the aws_access_key, aws_secret_key, and aws_token params. |
@nikki603 I am able apply the following terraform code, I have defined a custom endpoint for my AWS OpenSearch Service domain.
|
@nikki603 I tested both modifying an existing AWS OpenSearch domain and specifying a custom endpoint at the time of creation of the domain, both are working. |
I see that I was missing |
Great, good to hear it works now! |
What is the bug?
terraform apply
returnsHow can one reproduce the bug?
Fails with this error when the provider is using the custom domain URL.
This custom domain is a CNAME record in Route53 with value of the AWS provided domain URL.
It does not fail when using the AWS provided domain URL.
terraform apply
What is the expected behavior?
index1 created successfully
What is your host/environment?
hashicorp/terraform:1.6.6 Docker container OR MacOS 14.1 (23B2073)
opensearch-project/opensearch provider 2.2.0
AWS OpenSearch version OpenSearch_2_11_R20231113-P4 (latest)
The text was updated successfully, but these errors were encountered: