--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "opensearch_composable_index_template Resource - terraform-provider-opensearch" subcategory: "" description: |- Provides an Composable index template resource. This resource uses the /_index_template endpoint of the API that is available since version 7.8. Use opensearch_index_template if you are using older versions or if you want to keep using legacy Index Templates in versions 7.8+. --- # opensearch_composable_index_template (Resource) Provides an Composable index template resource. This resource uses the `/_index_template` endpoint of the API that is available since version 7.8. Use `opensearch_index_template` if you are using older versions or if you want to keep using legacy Index Templates in versions 7.8+. ## Example Usage ```terraform resource "opensearch_composable_index_template" "template_1" { name = "template_1" body = < ## Schema ### Required - `body` (String) The JSON body of the index template. - `name` (String) The name of the index template. ### Read-Only - `id` (String) The ID of this resource. ## Import Import is supported using the following syntax: ```shell terraform import opensearch_composable_index_template.template_1 template_1 ```