zscaler / terraform-provider-zia

:cloud: Terraform Provider for Zscaler Internet Access :cloud:
MIT License
37 stars 5 forks source link

Plugin keeps crashing #376

Closed justinjocewicz closed 3 hours ago

justinjocewicz commented 3 hours ago

Community Note

Terraform Version

**Terraform v1.9.8 on windows_386

Affected Resource(s)

Happens with data calls or anything

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

main.tf

IP Destination Group of Type DSTN_FQDN

resource "zia_firewall_filtering_destination_groups" "dstn_fqdn" { name = "Example Destination FQDN" description = "Example Destination FQDN" type = "DSTN_FQDN" addresses = [ "test1.acme.com", "test2.acme.com", "test3.acme.com" ] }

provider.tf terraform { required_providers { zia = { source = "zscaler/zia" version = "3.0.6" } } }

provider "zia" { username = removed password = removed api_key = "removed zia_cloud = "zscalertwo" }

Debug Output

https://gist.github.com/justinjocewicz/2c48d255e14db5d137258f30f1620b4d

Panic Output

Expected Behavior

To apply the resources

Actual Behavior

plugin crash

Steps to Reproduce

  1. create any basic code
  2. `terraform plan
  3. terraform apply

plugin will die. Tried all provider versions from 3.0.0 to 3.0.6

Important Factoids

References

willguibr commented 3 hours ago

@justinjocewicz please ensure that you have the correct version of the Terraform software installed on your Windows machine. If your Windows is 64bit make sure you're installing the Terraform AMD64 binary before executing our provider. The panic indicates that there is a misalignment between your OS architecture and the Terraform software installed. Most likely you are running Terraform 32Bit. You can easily check that by executing terraform version https://developer.hashicorp.com/terraform/install?product_intent=terraform#windows

If the problem persists please raise a ticket with our global support team and we will investigate further.

Zscaler DevRel

justinjocewicz commented 3 hours ago

wow..I am slow @willguibr ...thank you. Wow..lol