deploymenttheory / terraform-provider-jamfpro

Jamf Pro Terraform Provider/Plugin written with the TF Provider SDK v2. Written in go
Mozilla Public License 2.0
24 stars 9 forks source link

API Role Creation Fails on Validate #208

Closed mhrono closed 2 months ago

mhrono commented 2 months ago

Offending line: https://github.com/deploymenttheory/terraform-provider-jamfpro/blob/0a8fef125ed0e73fef36be257123bff94756b92d/internal/endpoints/apiroles/apiroles_resource.go#L108

Error received:

You can see in the referenced URL that the provider is attempting to validate the resource was created successfully using the accounts endpoint, rather than api-roles. This issue does not appear to exist on Read/Update/Delete operations.