Skip to content

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

@pastibog

Description

@pastibog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions