# How to import tenant configuration using terraform-auth-provider

**URL:** <https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388>\
**Category:** Get Help\
**Tags:** tenants, management-api\
**Created:** [February 13, 2023, 5:40pm UTC](https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388 "2023-02-13T17:40:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaki.machfj](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zaki.machfj/32/42859_2.png) [@zaki.machfj](https://community.auth0.com/u/zaki.machfj)\
**Post date:** [February 13, 2023, 5:40pm UTC](https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388/1 "2023-02-13T17:40:33Z")

</div>

I’m using Terraform to manage my Auth0 configuration. The docs and blogs are well documented on how to manage and create new resources, but how can I import the existing resources in my tenant over to terraform? I’m aware of importing individual resources using terraform import, such as

```auto
terraform import auth0_client.my_client 1egefsaf...

```

but is it possible to import the entire configuration, or all the clients one at a time? My tenant has many clients and importing them like this one by one is very time consuming

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 8, 2023, 7:20am UTC](https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388/2 "2023-09-08T07:20:22Z")

</div>

Hey there everyone! 👋🏼

I thought I’m gonna chime in with something that might be of your interest! We’re hosting an Ask Me Anything Session in our Forum regarding Auth0 Terraform Provider.

It’s gonna be on Thursday, September 28, 2023. Check out more info about it here!

> [@Auth0 Community Ask Me Anything with Auth0 Terraform Provider](https://community.auth0.com/t/ask-me-anything-with-auth0-terraform-provider/115670):
>
> Auth0 by Okta Community Ask Me Anything with Auth0 Terraform Provider The Auth0 Community is excited to invite you to our next interactive online Ask Me Anything (AMA) session on Thursday, September 28, 2023, featuring the Auth0 Terraform Provider Product Team. Did you know that the Auth0 Terraform Provider offers a streamlined way to manage Auth0 configurations using Infrastructure as code, allowing for easy version control, automation, and integration into existing DevOps pipelines? No matter…

---

<div class="post-metadata">

**Author:** ![will.vedder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/will.vedder/32/46585_2.png) [@will.vedder](https://community.auth0.com/u/will.vedder)\
**Post date:** [September 18, 2023, 8:20pm UTC](https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388/3 "2023-09-18T20:20:57Z")

</div>

@zaki.machfj – Good news, we’ve released auto-generated Terraform configuration functionality in the Auth0 CLI. It should solve the toil of needing to lookup IDs and manually import them with the TF command line. This functionality is exposed via the `auth0 terraform generate` command. See the [docs](https://auth0.github.io/auth0-cli/auth0_terraform_generate.html) for more details.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 2, 2023, 8:21pm UTC](https://community.auth0.com/t/how-to-import-tenant-configuration-using-terraform-auth-provider/100388/4 "2023-10-02T20:21:12Z")

</div>

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