github Jamf-Concepts/terraform-provider-jamfplatform v0.13.0

latest releases: v0.18.0-rc.4, v0.18.0-rc.3, v0.18.0-rc.2...
4 months ago

Upgrade Guide

This release includes schema changes that affect Terraform configuration syntax. Existing state is automatically migrated — no manual state surgery is required. However, you will need to update your .tf files to match the new syntax before running terraform plan.

Schema Changes

Blueprint resource (jamfplatform_blueprints_blueprint)

All strongly-typed component attributes have changed from blocks to nested attributes. This means adding = after the attribute name:

- software_update {
+ software_update = {
    automatic_os_updates    = true
    automatic_rapid_updates = true
  }

- custom_declarations {
-   declaration {
+ custom_declarations = {
+   declaration = [{
      ...
-   }
-   declaration {
+   }, {
      ...
-   }
- }
+   }]
+ }

This applies to: audio_accessory_settings, custom_declarations, disk_management_settings, math_settings, passcode_policy, safari_bookmarks, safari_extensions, safari_settings, service_background_tasks, service_configuration_files, software_update, and software_update_settings.

Nested lists within components (e.g. managed_bookmarks, managed_extensions, background_tasks, beta_offer_programs) also use = [{...}, {...}] syntax instead of repeated blocks.

Device group resource (jamfplatform_device_group)

criteria has changed from repeated blocks to a list attribute:

- criteria {
-   criteria = "Operating System Version"
-   operator = "is"
-   value    = "13.4.1"
- }
- criteria {
-   and_or   = "and"
-   criteria = "Serial Number"
-   operator = "is not"
-   value    = ""
- }
+ criteria = [
+   {
+     criteria = "Operating System Version"
+     operator = "is"
+     value    = "13.4.1"
+   },
+   {
+     and_or   = "and"
+     criteria = "Serial Number"
+     operator = "is not"
+     value    = ""
+   },
+ ]

Data sources (jamfplatform_device_groups, jamfplatform_devices)

filter has changed from repeated blocks to a list attribute:

- filter {
-   selector = "deviceType"
-   argument = "COMPUTER"
- }
+ filter = [
+   {
+     selector = "deviceType"
+     argument = "COMPUTER"
+   }
+ ]

Read-only type changes (data sources)

Several computed attributes changed from sets to lists. This affects data source outputs only and requires no configuration changes:

  • device_groups on jamfplatform_blueprints_blueprint
  • members and criteria on jamfplatform_device_group

Other Changes

  • License: Changed from MIT to MPL-2.0 to comply with the HashiCorp Terraform Provider Scaffolding license terms. This does not affect usage, warranty, or liability — it only applies to redistribution and modification of the provider source code.
  • Improved error messages: API error responses now include additional context for easier debugging.
  • Improved pagination: More reliable handling of paginated API responses.

Full Changelog: v0.12.2...v0.13.0

Don't miss a new terraform-provider-jamfplatform release

NewReleases is sending notifications on new releases.