Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpa service edge group import failing #243

Closed
2 tasks done
snowman386 opened this issue Dec 26, 2024 · 1 comment · Fixed by #244
Closed
2 tasks done

zpa service edge group import failing #243

snowman386 opened this issue Dec 26, 2024 · 1 comment · Fixed by #244
Assignees
Labels
bug Something isn't working

Comments

@snowman386
Copy link

Confirmation

  • 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

zscaler-terraformer v1.3.5 Terraform version: Terraform v1.10.3 on (windows_amd64)

Expected outcome

zscaler-terraformer import --resources="zpa" to run without error

Actual outcome

ZPA import fails at the service edge group import stage with error:
json: cannot unmarshal array into Go struct field ServiceEdgeController.list.serviceEdges.listenIps of type string

I checked the API results and one of the 2 edge groups has a listenIps value define and it is an array of strings with a single element like:
"listenIps": [
"x.x.x.x"
]

Steps to reproduce

  1. Run zscaler-terraformer import --resources="zpa"

Am able to get the import to run to completion by excluding the edge groups.

References

No response

@willguibr willguibr self-assigned this Dec 30, 2024
@willguibr willguibr added the bug Something isn't working label Dec 30, 2024
@willguibr willguibr moved this to ⚙️ In development in Zscaler Automation Dashboard 🛣 Dec 30, 2024
@willguibr willguibr linked a pull request Jan 5, 2025 that will close this issue
@willguibr
Copy link
Member

Issue addressed in latest v.1.3.6 release

Zscaler DevRel

@github-project-automation github-project-automation bot moved this from ⚙️ In development to 🚀 Shipped in Zscaler Automation Dashboard 🛣 Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🚀 Shipped
Development

Successfully merging a pull request may close this issue.

2 participants