phillbaker / terraform-provider-elasticsearch

An elasticsearch provider for terraform
https://registry.terraform.io/providers/phillbaker/elasticsearch
Mozilla Public License 2.0
303 stars 133 forks source link

Error: elastic: Error 401 (Unauthorized) when modifying action_auto_create_index #358

Open vchslav opened 11 months ago

vchslav commented 11 months ago

Hi. I'm trying to add/remove action_auto_create_index and receiving this error

2023-07-25T10:00:25.119+0300 [DEBUG] [aws-sdk-go] {} ╷ │ Error: elastic: Error 401 (Unauthorized) │ │ with elasticsearch_cluster_settings.global, │ on main.tf line 84, in resource "elasticsearch_cluster_settings" "global": │ 84: resource "elasticsearch_cluster_settings" "global" { │ tf_aws_opensearch.log

AWS OpenSearch 2.3 Service software version: OpenSearch_2_3_R20221114-P6 (latest) Terraform version : 1.4.5 Please find the log file atteched.

Would appreciate your help.

vchslav commented 11 months ago

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-operations.html#version_opensearch_2.3