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