# Terraform

**URL:** https://discuss.elastic.co/c/orchestration/terraform/97.md

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

---

## [About the Terraform category](https://discuss.elastic.co/t/about-the-terraform-category/347724)

<div class="topic-metadata">

**Author:** [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Replies:** 0

</div>

All things related to the terraform Elastic Cloud and Elasticstack providers.

---

## [Deploy text embedding model via terraform](https://discuss.elastic.co/t/deploy-text-embedding-model-via-terraform/373074)

<div class="topic-metadata">

**Author:** [@Jaroslav\_Nejedly](https://discuss.elastic.co/u/Jaroslav_Nejedly)\
**Replies:** 2\
**Last updated:** [May 22, 2025, 11:14am UTC](https://discuss.elastic.co/t/deploy-text-embedding-model-via-terraform/373074 "2025-05-22T11:14:07Z")

</div>

Hi! What is the best way to deploy a text embedding model using Terraform? (If you think it should not be done via Terraform at all: What is the best way to automatically deploy a text embedding model to ensure it's alw…

---

## [Experience using terraform to manage logstash pipelines?](https://discuss.elastic.co/t/experience-using-terraform-to-manage-logstash-pipelines/365806)

<div class="topic-metadata">

**Author:** [@calvin1](https://discuss.elastic.co/u/calvin1)\
**Replies:** 4\
**Last updated:** [September 2, 2024, 9:16am UTC](https://discuss.elastic.co/t/experience-using-terraform-to-manage-logstash-pipelines/365806 "2024-09-02T09:16:17Z")

</div>

Does anyone have any experience with the elasticstack\_elasticsearch\_logstash\_pipeline provider from Terraform? (i would post a link but im not allowed) currently i use ansible for setup, but wondering if it might not be…

---

## [How to assing permission to generate CSV in Terraform](https://discuss.elastic.co/t/how-to-assing-permission-to-generate-csv-in-terraform/362224)

<div class="topic-metadata">

**Author:** [@pi314](https://discuss.elastic.co/u/pi314)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 6:38pm UTC](https://discuss.elastic.co/t/how-to-assing-permission-to-generate-csv-in-terraform/362224 "2024-06-28T18:38:04Z")

</div>

Hello everyone, I use Elastic Cloud. I have created the following role in terraform. resource "elasticstack\_elasticsearch\_security\_role" "users\_analyst" { name = "users-analyst" cluster = \["monitor\_watcher"\] i…

---

## [Unable to Authenticate using api key with elasticstack Terraform provider](https://discuss.elastic.co/t/unable-to-authenticate-using-api-key-with-elasticstack-terraform-provider/353912)

<div class="topic-metadata">

**Author:** [@Andrew\_Thompson](https://discuss.elastic.co/u/Andrew_Thompson)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 6:55pm UTC](https://discuss.elastic.co/t/unable-to-authenticate-using-api-key-with-elasticstack-terraform-provider/353912 "2024-02-22T18:55:13Z")

</div>

I am attempting to create an agent profile using the elastic/elasticstack terraform provider, which provides resource elasticstack\_fleet\_agent\_policy. Attempting to use this resource results in an HTTP 401 error. I have…

---

## [How can we deploy, start and ingest pipeline for ELSER2?](https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251)

<div class="topic-metadata">

**Author:** [@Rakesh\_Nayak](https://discuss.elastic.co/u/Rakesh_Nayak)\
**Replies:** 1\
**Last updated:** [November 29, 2023, 3:53pm UTC](https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251 "2023-11-29T15:53:55Z")

</div>

Hello Team, We are exploring using ELSER2 and we have migrated ourselves to use elastic 8.11.1. We have done the POC of the deploy/start of the elser model and created an ingest pipeline through Kibanna. But we need to …
