Using SSDs other than general purpose may lead to surge in costs.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain#ebs_options