# Terraform with Auth0

**URL:** <https://community.auth0.com/t/terraform-with-auth0/166128>\
**Category:** Get Help\
**Tags:** platform-infrastructure, general-architecture-question\
**Created:** [December 27, 2024, 7:53am UTC](https://community.auth0.com/t/terraform-with-auth0/166128 "2024-12-27T07:53:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigneshSivasamy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vigneshsivasamy/32/60008_2.png) [@vigneshSivasamy](https://community.auth0.com/u/vigneshSivasamy)\
**Post date:** [December 27, 2024, 7:53am UTC](https://community.auth0.com/t/terraform-with-auth0/166128/1 "2024-12-27T07:53:59Z")

</div>

I am having difficulties getting Terraform to work with Auth0 and need assistance in resolving the error.

**Error Details**

Error: Failed to install provider  
│  
│ Error while installing auth0/auth0 v1.9.1: archive has incorrect checksum zh:275a7cb7e23027e6e369e774755e8d4d55fe6ba1c4498e4a6f349746f964f9ee  
│ (expected zh:5ad337feac4bcfdd40391322713c9984b3c63694afdc452be4bfa137db1085c4)

**LOG**

$env:TF\_LOG=“DEBUG”

> > terraform init  
> > 2024-12-27T13:00:07.928+0530 [INFO] Terraform version: 1.10.3  
> > 2024-12-27T13:00:07.929+0530 [DEBUG] using [GitHub - hashicorp/go-tfe: HCP Terraform/Enterprise API Client/SDK in Golang](http://github.com/hashicorp/go-tfe) v1.70.0  
> > 2024-12-27T13:00:07.929+0530 [DEBUG] using [github.com/hashicorp/hcl/v2](http://github.com/hashicorp/hcl/v2) v2.23.0  
> > 2024-12-27T13:00:07.929+0530 [DEBUG] using [GitHub - hashicorp/terraform-svchost: A library for the representation of friendly hostnames](http://github.com/hashicorp/terraform-svchost) v0.1.1  
> > 2024-12-27T13:00:07.929+0530 [DEBUG] using [GitHub - zclconf/go-cty: A type system for dynamic values in Go applications](http://github.com/zclconf/go-cty) v1.15.1-0.20241111215639-63279be090d7  
> > 2024-12-27T13:00:07.929+0530 [INFO] Go runtime version: go1.23.3  
> > 2024-12-27T13:00:07.929+0530 [INFO] CLI args: string{“C:\Program Files (x86)\Terraform\terraform.exe”, “init”}  
> > 2024-12-27T13:00:07.937+0530 [DEBUG] Attempting to open CLI config file: C:\Users\vsivasamy\AppData\Roaming\terraform.rc  
> > 2024-12-27T13:00:07.938+0530 [DEBUG] File doesn’t exist, but doesn’t need to. Ignoring.  
> > 2024-12-27T13:00:07.940+0530 [DEBUG] checking for credentials in “C:\Users\vsivasamy\AppData\Roaming\terraform.d\plugins”  
> > 2024-12-27T13:00:07.941+0530 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins  
> > 2024-12-27T13:00:07.941+0530 [DEBUG] will search for provider plugins in C:\Users\vsivasamy\AppData\Roaming\terraform.d\plugins  
> > 2024-12-27T13:00:07.944+0530 [DEBUG] ignoring non-existing provider search directory C:\Users\vsivasamy\AppData\Roaming\HashiCorp\Terraform\plugins  
> > 2024-12-27T13:00:07.945+0530 [INFO] CLI command args: string{“init”}  
> > Initializing the backend…  
> > 2024-12-27T13:00:09.501+0530 [DEBUG] checking for provisioner in “.”  
> > 2024-12-27T13:00:09.502+0530 [DEBUG] checking for provisioner in “C:\Program Files (x86)\Terraform”  
> > 2024-12-27T13:00:09.504+0530 [DEBUG] checking for provisioner in “C:\Users\vsivasamy\AppData\Roaming\terraform.d\plugins”  
> > Initializing provider plugins…

- Finding auth0/auth0 versions matching “\>= 1.0.0”…  
2024-12-27T13:00:10.236+0530 [DEBUG] Service discovery for [registry.terraform.io](http://registry.terraform.io) at [https://registry.terraform.io/.well-known/terraform.json](https://registry.terraform.io/.well-known/terraform.json)  
2024-12-27T13:00:10.524+0530 [DEBUG] GET [https://registry.terraform.io/v1/providers/auth0/auth0/versions](https://registry.terraform.io/v1/providers/auth0/auth0/versions)  
2024-12-27T13:00:10.615+0530 [DEBUG] GET [https://registry.terraform.io/v1/providers/auth0/auth0/1.9.1/download/windows/386](https://registry.terraform.io/v1/providers/auth0/auth0/1.9.1/download/windows/386)  
2024-12-27T13:00:10.708+0530 [DEBUG] GET [https://github.com/auth0/terraform-provider-auth0/releases/download/v1.9.1/terraform-provider-auth0\_1.9.1\_SHA256SUMS](https://github.com/auth0/terraform-provider-auth0/releases/download/v1.9.1/terraform-provider-auth0_1.9.1_SHA256SUMS)  
2024-12-27T13:00:12.397+0530 [DEBUG] GET [https://github.com/auth0/terraform-provider-auth0/releases/download/v1.9.1/terraform-provider-auth0\_1.9.1\_SHA256SUMS.sig](https://github.com/auth0/terraform-provider-auth0/releases/download/v1.9.1/terraform-provider-auth0_1.9.1_SHA256SUMS.sig)
- Installing auth0/auth0 v1.9.1…  
╷  
│ Error: Failed to install provider  
│  
│ Error while installing auth0/auth0 v1.9.1: archive has incorrect checksum zh:275a7cb7e23027e6e369e774755e8d4d55fe6ba1c4498e4a6f349746f964f9ee  
│ (expected zh:5ad337feac4bcfdd40391322713c9984b3c63694afdc452be4bfa137db1085c4)  
╵  
PS C:\Users\vsivasamy\OneDrive - WRB\Documents\Terraform\>

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [December 27, 2024, 10:34pm UTC](https://community.auth0.com/t/terraform-with-auth0/166128/2 "2024-12-27T22:34:13Z")

</div>

Hi @vigneshSivasamy

Welcome back to the Auth0 Community!

I’ve checked your error logs. Could you please confirm for me which Terraform version you are running on your machine? Can you please run the `terraform version` in your terminal?

`2024-12-27T13:00:10.615+0530 [DEBUG] GET https://registry.terraform.io/v1/providers/auth0/auth0/1.9.1/download/windows/386` would suggest the usage of windows32-bit version. If so, can you re-download the _Windows/AMD64_ version. If that won’t help, can you open up a new issue in the Auth0 provider repository on Github and link the issue here, I will ping the repo owners.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![vigneshSivasamy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vigneshsivasamy/32/60008_2.png) [@vigneshSivasamy](https://community.auth0.com/u/vigneshSivasamy)\
**Post date:** [December 28, 2024, 10:43am UTC](https://community.auth0.com/t/terraform-with-auth0/166128/3 "2024-12-28T10:43:06Z")

</div>

Hi,

I am using the following version:

Terraform v1.10.3  
on windows\_386

When I run `terraform init`, it automatically downloads the required version. Is there a way I can choose the AMD version instead of the currently selected one?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [December 31, 2024, 12:02am UTC](https://community.auth0.com/t/terraform-with-auth0/166128/4 "2024-12-31T00:02:16Z")

</div>

Hi @vigneshSivasamy

You can download the AMD64 terraform version here → [https://releases.hashicorp.com/terraform/1.10.3/terraform\_1.10.3\_windows\_amd64.zip](https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_windows_amd64.zip)

Thanks  
Dawid

---

<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:** [January 14, 2025, 12:02am UTC](https://community.auth0.com/t/terraform-with-auth0/166128/5 "2025-01-14T00:02:40Z")

</div>

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