Skip to content
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

Connect: connection timed out message when creating an index using terraform #359

Open
pastibog opened this issue Aug 1, 2023 · 0 comments

Comments

@pastibog
Copy link

pastibog commented Aug 1, 2023

Hello,

We are using this provider to create an Opensearch cluster which works fine but when we are attempting to create an index, after about 6 minutes we get a message that the connection timed out and the terraform fails.
Full message:
Error: Put "<opensearch_endpoint>/<index_name>": dial tcp <ip>:443: connect: connection timed out

Our provider is configured like so:

provider "elasticsearch" {
  url = "https://<opensearch_cluster_endpoint>"
  healthcheck = false
  elasticsearch_version = "OpenSearch_2.7"
  sign_aws_requests = false
  username = <master_username>
  password  = <master_password>
}

I had seen no timeout settings on the provider configuration page so I'd like to ask if there is anything we could do to fix this.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant