# Generate Terraform

### Execute Utility

Once Terraform Exporter Utility is configured, [export Environment Variables](/docs/automation-platform/terraform-support/duplocloud-terraform-exporter/install-terraform-exporter.md#prepare-environment-variable-in-bash) and execute listed commands.

> `cd tenant-terraform-generator`
>
> `make run`

![Utility  Execution in-progress](/files/baIN644XGwTBy1wkKGAF)

### View the Output

New Folders would be available under `tenant-terraform-generator/target/<customer-name>/<tenant>`

![Target Folder View](/files/su99xJUTY9x8azcd56gD)

Under `terraform` folder, **admin-tenant**, **aws-services** and **app** projects would be available. These projects would be referenced later to create new tenants and resources.

* **admin-tenant:** This project manages the creation of DuploCloud tenant and tenant-related resources.
* **aws-services:** This project manages data services like Redis, RDS, Kafka, S3 buckets, Cloudfront, EMR and Elastic Search inside DuploCloud.
* **app:** This project manages DuploCloud services like EKS, ECS.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/terraform-support/duplocloud-terraform-exporter/generate-terraform.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
