We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
If I create from scratch a jamfpro_computer_prestage_enrollment resource containing an Enrollment Packages configuration I encounter this error:
jamfpro_computer_prestage_enrollment
│ Error: failed to create Jamf Pro Computer Prestage Enrollment 'PreStage COMPANY' after retries: failed to create computer prestage, error: {"status_code":400,"method":"POST","url":"https://devnetopie.jamfcloud.com/api/v3/computer-prestages","message":"API Error Response","raw_response":""} │ │ with module.prestages["9D0BDA59-6BCB-443F-8F07-60B61E56B008"].jamfpro_computer_prestage_enrollment.object, │ on terraform_modules/prestages/resource_jamfpro_prestages.tf line 1, in resource "jamfpro_computer_prestage_enrollment" "object": │ 1: resource "jamfpro_computer_prestage_enrollment" "object" {
For information, there is no error before the plan is applied:
# module.prestages["9D0BDA59-6BCB-443F-8F07-60B61E56B008"].jamfpro_computer_prestage_enrollment.object will be created + resource "jamfpro_computer_prestage_enrollment" "object" { + anchor_certificates = [] + auto_advance_setup = false + custom_package_distribution_point_id = "-2" + custom_package_ids = [ + "146", ] + default_prestage = true ...
But if I create the PreStage without the Enrollment Packages configuration: it works.
More strangely, if I add after the Enrollment Package configuration: then it works also.
# module.prestages["9D0BDA59-6BCB-443F-8F07-60B61E56B008"].jamfpro_computer_prestage_enrollment.object will be updated in-place ~ resource "jamfpro_computer_prestage_enrollment" "object" { ~ custom_package_distribution_point_id = "-1" -> "-2" ~ custom_package_ids = [ + "146", ] id = "14" # (26 unchanged attributes hidden) # (4 unchanged blocks hidden) }
Thanks, Emmanuel
The text was updated successfully, but these errors were encountered:
hi there,
I can replicate the issue.
when i tf with
custom_package_ids = ["1", "2"] custom_package_distribution_point_id = "-1"
i can successful create and i get this
however this fails with the cloud dp set on create
custom_package_ids = ["1", "2"] custom_package_distribution_point_id = "-2"
this is definitely an api issue on jamf's side, rather than with the provider.
Sorry, something went wrong.
Bad news... 😬
No branches or pull requests
Hi,
If I create from scratch a
jamfpro_computer_prestage_enrollment
resource containing an Enrollment Packages configuration I encounter this error:For information, there is no error before the plan is applied:
But if I create the PreStage without the Enrollment Packages configuration: it works.
More strangely, if I add after the Enrollment Package configuration: then it works also.
Thanks,
Emmanuel
The text was updated successfully, but these errors were encountered: