@@ -38,21 +38,24 @@ module "database" {
3838
3939# wait 60 secs to allow IAM credential access to kick in before configuring instance
4040# without the wait, you can intermittently get "Error 401 (Unauthorized)"
41- resource "time_sleep" "wait" {
42- depends_on = [module . database ]
43- create_duration = " 60s"
44- }
4541
46- resource "elasticsearch_index" "test" {
47- depends_on = [time_sleep . wait ]
48- name = " terraform-test"
49- number_of_shards = 1
50- number_of_replicas = 1
51- force_destroy = true
52- }
42+ # Temporarily disabling index creation due to an know issue blocking the pipeline : https://github.ibm.com/GoldenEye/issues/issues/16245.
5343
54- resource "elasticsearch_cluster_settings" "global" {
55- depends_on = [time_sleep . wait ]
56- cluster_max_shards_per_node = 10
57- action_auto_create_index = " my-index-000001,index10,-index1*,+ind*"
58- }
44+ # resource "time_sleep" "wait" {
45+ # depends_on = [module.database]
46+ # create_duration = "60s"
47+ # }
48+
49+ # resource "elasticsearch_index" "test" {
50+ # depends_on = [time_sleep.wait]
51+ # name = "terraform-test"
52+ # number_of_shards = 1
53+ # number_of_replicas = 1
54+ # force_destroy = true
55+ # }
56+
57+ # resource "elasticsearch_cluster_settings" "global" {
58+ # depends_on = [time_sleep.wait]
59+ # cluster_max_shards_per_node = 10
60+ # action_auto_create_index = "my-index-000001,index10,-index1*,+ind*"
61+ # }
0 commit comments