by shigemk2

当面は技術的なことしか書かない

aws_elasticsearch_domain cluster_config instance_type

cluster_configのinstance_typeはデータノードのインスタンスタイプで、ドメイン作成後にこのinstance_typeを修正しても再作成にはならずupdate in-replaceで更新になる。

  cluster_config {
    instance_type = "r4.large.elasticsearch"
  }

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/opensearch_domain