# Creating App Search with Terraform?

**URL:** <https://discuss.elastic.co/t/creating-app-search-with-terraform/269234>\
**Category:** Elasticsearch\
**Created:** [April 5, 2021, 12:46pm UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234 "2021-04-05T12:46:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chanonry](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Chanonry](https://discuss.elastic.co/u/Chanonry)\
**Post date:** [April 5, 2021, 12:46pm UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234/1 "2021-04-05T12:46:16Z")

</div>

We are in the early stages of exploring App Search and really like the abstraction on Elasticsearch as it gets up going much faster, the console lets us get a feel for the available parameters and autoscaling promises much.

However, this is all manually configured and with intricate tuning opportunities with synonyms, weights etc there is a real risk that we lose control of the precise configuration. We also want to be able to rapidly deploy resources to dev/test/prod environments so we really need to be able to make these deployments through a tool such as Terraform, but don't want to lose the benefits of the abstraction by having to try to learn to roll our own from the bottom up.

I have watched the Terraform video and reviewed the repo, which suggest that what I am looking for does not exist? App Search configuration via Terraform on the list ?

Or is there an example stack that could be made available to allow us to stand up an App Search instance with best practices incorporated?

Both are great developments, nicely done as well. They just need to meet up.

A

---

<div class="post-metadata">

**Author:** ![Chanonry](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Chanonry](https://discuss.elastic.co/u/Chanonry)\
**Post date:** [April 17, 2021, 7:16am UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234/2 "2021-04-17T07:16:49Z")

</div>

Not even a no ??

---

<div class="post-metadata">

**Author:** ![Jason\_Slater](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_slater/32/63484_2.png) [@Jason\_Slater](https://discuss.elastic.co/u/Jason_Slater)\
**Post date:** [April 17, 2021, 8:53am UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234/3 "2021-04-17T08:53:41Z")

</div>

Hi Andy,

You have likely seen the merged PR for deploying Enterprise Search from August 2020 [deploymentresource: Add support for EnterpriseSearch resource type by karencfv · Pull Request #37 · elastic/terraform-provider-ec · GitHub](https://github.com/elastic/terraform-provider-ec/pull/37)

the source repo has an example file. For the settings (synonyms, weights, etc) there are some general examples which include initialization such as:

> **[elastic/terraform-provider-ec](https://github.com/elastic/terraform-provider-ec/tree/master/examples/deployment_with_init)**
>
> master/examples/deployment\_with\_init

That said, unfortunately I don't see anything _yet_ which combines the two. Can you please submit a git issue to the repo with your request?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 15, 2021, 8:53am UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234/4 "2021-05-15T08:53:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
