github jamf/terraform-provider-jamfplatform v1.11.0

3 hours ago

Highlights

  • jamfplatform_pro_package can now read package_file_source from Amazon S3 (s3://bucket/key, optional ?versionId=), Azure Blob Storage (azblob://account/container/blob) and an https:// server that needs a credential (#592).
  • New provider-level file_sources block (s3, azure, https) for credentials the machine does not already have. Argument names and environment variables mirror Terraform's s3 and azurerm state backends.
  • New registry guides: "Package cloud storage" and "Using actions". Action examples are rewritten around terraform apply -invoke=... and resource action_trigger with caller.<attr> (#593).

Upgrade notes

  • package_file_source on jamfplatform_pro_package gains a Computed attribute, package_file_source_version, holding the object's ETag as etag:<value>. A change to an S3 or Azure object now shows in the plan, the way a change to a local file already does. A plain URL still has no plan-time detection.
  • An update whose source object is unchanged now uploads nothing, including with stream_url_directly, which previously re-sent the whole file on every update.
  • Errors that carry a file source now redact query strings and user-info. This changes error text for existing URL sources.

Docs

  • New package-cloud-storage and actions guides.
  • Device-targeting action examples look the device up by serial number instead of a placeholder UUID.
  • device_erase example no longer sets return_to_service: Jamf refuses it with RTS not supported for this device unless the tenant has Return to Service configured.
  • pro_disable_lost_mode example uses serial_numbers, as its Lost Mode siblings do.

Dependencies

  • New direct dependencies: hashicorp/aws-sdk-go-base/v2, hashicorp/go-azure-sdk/sdk, plus aws-sdk-go-v2, service/s3 and smithy-go (already indirect). Stripped binary grows from 43.5 MB to 48.9 MB.
  • Bumps: aws-sdk-go-v2 1.48.0, service/s3 1.116.0, credentials 1.21.3, otel/trace 1.47.0, actions/setup-go 7.1.0.

What's Changed

  • build(deps): Bump actions/setup-go from 7.0.0 to 7.1.0 by @dependabot[bot] in #591
  • feat(package): read package_file_source from S3, Azure Blob Storage and authenticated https by @neilmartin83 in #592
  • docs(actions): lifecycle-trigger examples and Using actions guide by @neilmartin83 in #593
  • build(deps): Bump github.com/aws/aws-sdk-go-v2 from 1.47.5 to 1.48.0 by @dependabot[bot] in #611
  • build(deps): Bump github.com/aws/aws-sdk-go-v2/service/s3 to 1.116.0 by @dependabot[bot] in #612
  • build(deps): Bump github.com/aws/aws-sdk-go-v2/credentials to 1.21.3 by @dependabot[bot] in #614
  • build(deps): Bump go.opentelemetry.io/otel/trace to 1.47.0 by @dependabot[bot] in #615

Full Changelog: v1.10.0...v1.11.0

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

NewReleases is sending notifications on new releases.