Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
43e229c
refactor!: jamf_cloud_distribution_service - remove unsupported field…
neilmartin83 Aug 14, 2025
b580909
feat: Add username attribute claim mapping to jamfpro_sso_settings (1…
neilmartin83 Aug 14, 2025
7299084
feat: Add enable_maid_username_merge option for user_initiated_enroll…
neilmartin83 Aug 14, 2025
068a905
feat: and MD5 hash calculation for packages (#850)
neilmartin83 Aug 14, 2025
5b50816
chore(deps): bump actions/checkout from 4 to 5 (#852)
dependabot[bot] Aug 14, 2025
70970b1
chore(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 (#853)
dependabot[bot] Aug 14, 2025
09fcdb8
Merge remote-tracking branch 'upstream/main'
neilmartin83 Aug 15, 2025
c41fc9e
Merge remote-tracking branch 'upstream/main'
neilmartin83 Sep 15, 2025
616b984
Merge remote-tracking branch 'upstream/main'
neilmartin83 Sep 21, 2025
0ca6b72
Merge remote-tracking branch 'upstream/main'
neilmartin83 Sep 28, 2025
280624b
Merge remote-tracking branch 'upstream/main'
neilmartin83 Sep 30, 2025
6cb042b
Merge remote-tracking branch 'upstream/main'
neilmartin83 Oct 2, 2025
55da247
Merge remote-tracking branch 'upstream/main'
neilmartin83 Oct 24, 2025
5dbb601
Merge remote-tracking branch 'upstream/main'
neilmartin83 Nov 5, 2025
55643f0
Merge remote-tracking branch 'upstream/main'
neilmartin83 Nov 8, 2025
6ecffed
Merge remote-tracking branch 'upstream/main'
neilmartin83 Nov 14, 2025
695c7b2
Merge remote-tracking branch 'upstream/main'
neilmartin83 Nov 17, 2025
9bbd904
feat: add os_showcase option to computer prestage enrollment resource
neilmartin83 Nov 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/resources/computer_prestage_enrollment.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ resource "jamfpro_computer_prestage_enrollment" "minimum_example" {
enable_lockdown_mode = false
welcome = false
wallpaper = false
os_showcase = false
}
location_information {
username = ""
Expand Down Expand Up @@ -147,6 +148,7 @@ resource "jamfpro_computer_prestage_enrollment" "configured_example_1" {
enable_lockdown_mode = false
welcome = false
wallpaper = false
os_showcase = true
}
location_information {
username = ""
Expand Down Expand Up @@ -348,6 +350,7 @@ Required:
- `icloud_storage` (Boolean) Skip iCloud Storage setup.
- `intelligence` (Boolean) Skip Apple Intelligence setup.
- `location` (Boolean) Skip Location setup.
- `os_showcase` (Boolean) Skip OS showcase setup.
- `payment` (Boolean) Skip Payment setup.
- `privacy` (Boolean) Skip Privacy setup.
- `registration` (Boolean) Skip Registration setup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ resource "jamfpro_computer_prestage_enrollment" "minimum_example" {
enable_lockdown_mode = false
welcome = false
wallpaper = false
os_showcase = false
}
location_information {
username = ""
Expand Down Expand Up @@ -136,6 +137,7 @@ resource "jamfpro_computer_prestage_enrollment" "configured_example_1" {
enable_lockdown_mode = false
welcome = false
wallpaper = false
os_showcase = true
}
location_information {
username = ""
Expand Down Expand Up @@ -192,4 +194,4 @@ resource "jamfpro_computer_prestage_enrollment" "configured_example_1" {
prefill_account_user_name = "firstname.lastname"
prevent_prefill_info_from_modification = false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
Wallpaper: jamfpro.BoolPtr(data["wallpaper"].(bool)),
SoftwareUpdate: jamfpro.BoolPtr(data["software_update"].(bool)),
AdditionalPrivacySettings: jamfpro.BoolPtr(data["additional_privacy_settings"].(bool)),
OSShowcase: jamfpro.BoolPtr(data["os_showcase"].(bool)),

Check failure on line 147 in internal/services/computer_prestage_enrollment/resource_constructor.go

View workflow job for this annotation

GitHub Actions / 📚 Generate Go and TF Provider Docs

unknown field OSShowcase in struct literal of type jamfpro.ComputerPrestageSubsetSkipSetupItems
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ func ResourceJamfProComputerPrestageEnrollment() *schema.Resource {
Required: true,
Description: "Skip additional privacy settings setup.",
},
"os_showcase": {
Type: schema.TypeBool,
Required: true,
Description: "Skip OS showcase setup.",
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,6 @@
"site_id": resp.SiteId,
"platform_sso_enabled": resp.PssoEnabled,
"platform_sso_app_bundle_id": resp.PlatformSsoAppBundleId,
// "enabled": resp.Enabled,
// "sso_for_enrollment_enabled": resp.SsoForEnrollmentEnabled,
// "sso_bypass_allowed": resp.SsoBypassAllowed,
// "sso_enabled": resp.SsoEnabled,
// "sso_for_mac_os_self_service_enabled": resp.SsoForMacOsSelfServiceEnabled,
// "token_expiration_disabled": resp.TokenExpirationDisabled,
// "user_attribute_enabled": resp.UserAttributeEnabled,
// "user_attribute_name": resp.UserAttributeName,
// "user_mapping": resp.UserMapping,
// "enrollment_sso_for_account_driven_enrollment_enabled": resp.EnrollmentSsoForAccountDrivenEnrollmentEnabled,
// "group_enrollment_access_enabled": resp.GroupEnrollmentAccessEnabled,
// "group_attribute_name": resp.GroupAttributeName,
// "group_rdn_key": resp.GroupRdnKey,
// "group_enrollment_access_name": resp.GroupEnrollmentAccessName,
// "idp_provider_type": resp.IdpProviderType,
// "other_provider_type_name": resp.OtherProviderTypeName,
// "metadata_source": resp.MetadataSource,
// "session_timeout": resp.SessionTimeout,
// "device_type": resp.DeviceType,
}

if locationInformation := resp.LocationInformation; locationInformation != (jamfpro.ComputerPrestageSubsetLocationInformation{}) {
Expand Down Expand Up @@ -177,6 +158,7 @@
"wallpaper": *skipSetupItems.Wallpaper,
"software_update": *skipSetupItems.SoftwareUpdate,
"additional_privacy_settings": *skipSetupItems.AdditionalPrivacySettings,
"os_showcase": *skipSetupItems.OSShowcase,

Check failure on line 161 in internal/services/computer_prestage_enrollment/resource_state.go

View workflow job for this annotation

GitHub Actions / 📚 Generate Go and TF Provider Docs

skipSetupItems.OSShowcase undefined (type jamfpro.ComputerPrestageSubsetSkipSetupItems has no field or method OSShowcase)
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "jamfpro_computer_prestage_enrollment" "minimum_example" {
display_name = "jamfpro-sdk-example-computerPrestageMinimum-config"
display_name = "tf-testing-${var.testing_id}-${random_id.rng.hex}"
mandatory = true
mdm_removable = true
support_phone_number = "111-222-3333"
Expand Down Expand Up @@ -41,6 +41,7 @@ resource "jamfpro_computer_prestage_enrollment" "minimum_example" {
wallpaper = false
software_update = false
additional_privacy_settings = true
os_showcase = true
}
location_information {
username = ""
Expand Down
Loading