Skip to content

Issue when using phillbaker/elasticsearch provider for creating index and cluster settings #317

@Ak-sky

Description

@Ak-sky

Basic example is failing everytime in eu-de all regions when elasticsearch_index and elasticsearch_cluster_settings are getting created using below elasticsearch provider.

source = "phillbaker/elasticsearch"

Failing with below error context deadline exceeded

TestRunBasicExample 2024-10-23T06:35:14Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: Head "https://4a92398f-969b-44b3-a9b2-44a791571995.6131b73286f34215871dfad7254b4f7d.databases.appdomain.cloud:31855/": context deadline exceeded
│ 
│   with elasticsearch_index.test,
│   on main.tf line 34, in resource "elasticsearch_index" "test":
│   34: resource "elasticsearch_index" "test" {
│ 
╵
╷
│ Error: Head "https://4a92398f-969b-44b3-a9b2-44a791571995.6131b73286f34215871dfad7254b4f7d.databases.appdomain.cloud:31855/": context deadline exceeded
│ 
│   with elasticsearch_cluster_settings.global,
│   on main.tf line 42, in resource "elasticsearch_cluster_settings" "global":
│   42: resource "elasticsearch_cluster_settings" "global" {
│ 
╵}

Have tried to wait (sleep) for 60s, 120s, and so forth but it doesn't work. But sometimes TF re-apply does work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions