You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue isn't already found on the issue tracker.
I have replicated my issue using the latest version of the library and it is still present.
zscaler-terraformer version
time="2025-01-31T10:09:53-05:00" level=error msg="failed to exec to git" time="2025-01-31T10:09:53-05:00" level=error msg="failed to exec to git" zscaler-terraformer -dev+ Terraform version: Terraform v1.10.5 on (windows_amd64) Your version of Zscaler-Terraformer is out of date! The latest version is v2.0.0. You can update by running the command "choco upgrade zscaler-terraformer" or download the new version from https://github.com/zscaler/zscaler-terraformer/releases
Expected outcome
Expect to be able to run terraform plan on imported code without errors
Actual outcome
Receiving: │ Error: Missing required argument │ │ on zia_forwarding_control_rule.tf line 13, in resource "zia_forwarding_control_rule" "resource_zia_forwarding_control_rule_26363": │ 13: zpa_gateway { │ │ The argument "id" is required, but no definition was found.
Terraform code contains: zpa_gateway { name = "SIPA-Ashburn" }
Manually adding the ID resolves the error
Steps to reproduce
zscaler-terraformer import --resources="zia"
terraform plan
References
No response
The text was updated successfully, but these errors were encountered:
Confirmation
zscaler-terraformer version
time="2025-01-31T10:09:53-05:00" level=error msg="failed to exec to
git
" time="2025-01-31T10:09:53-05:00" level=error msg="failed to exec togit
" zscaler-terraformer -dev+ Terraform version: Terraform v1.10.5 on (windows_amd64) Your version of Zscaler-Terraformer is out of date! The latest version is v2.0.0. You can update by running the command "choco upgrade zscaler-terraformer" or download the new version from https://github.com/zscaler/zscaler-terraformer/releasesExpected outcome
Expect to be able to run terraform plan on imported code without errors
Actual outcome
Receiving:
│ Error: Missing required argument │ │ on zia_forwarding_control_rule.tf line 13, in resource "zia_forwarding_control_rule" "resource_zia_forwarding_control_rule_26363": │ 13: zpa_gateway { │ │ The argument "id" is required, but no definition was found.
Terraform code contains:
zpa_gateway { name = "SIPA-Ashburn" }
Manually adding the ID resolves the error
Steps to reproduce
References
No response
The text was updated successfully, but these errors were encountered: