-
Notifications
You must be signed in to change notification settings - Fork 214
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
data okta_network_zone fails to retrieve information #1994
Comments
We reorganised our repository and imported the zones into the state. Using the resource |
I am also experiencing the same issue. There is no change in the repository or version. The data object still works with id but not with the name. |
@Abajaj-dh do you have the log when you run |
Hi @duytiennguyen-okta - yes, I've exported the logs. But it's quite huge. I've shared the specific log related to network zone. |
It should be fixed with #2057 |
Thank you for your response and fix. It's working now :)
…On Tue, Aug 6, 2024 at 7:56 PM duytiennguyen-okta ***@***.***> wrote:
It should be fixed with #2057
<#2057>
—
Reply to this email directly, view it on GitHub
<#1994 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ3UA3OBP6CHPRSGS6UCKILZQEE3NAVCNFSM6AAAAABIBL5K4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHAZTQNRYHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Community Note
Terraform Version
Terraform v1.8.2
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
╷
│ Error: failed to find network zone: json: cannot unmarshal object into Go struct field NetworkZone.locations of type []*sdk.NetworkZoneLocation
│
│ with data.okta_network_zone.barcelona_netzone,
│ on okta-network_zones.tf line 43, in data "okta_network_zone" "barcelona_netzone":
│ 43: data okta_network_zone barcelona_netzone {
│
╵
Expected Behavior
data okta_network_zone
retrieves the information from the existing zones without any issue.Can this be done in the Admin UI?
I don't know
Can this be done in the actual API call?
I don't know
Actual Behavior
data okta_network_zones produces an error.
Steps to Reproduce
data okta_network_zone
resource that exists in Okta.terraform plan
orterraform apply
Important Factoids
We run a task daily to monitor changes on Okta, and this morning failed for the first time. However, there were no recent changes in our environment.
The text was updated successfully, but these errors were encountered: