Releases: DavidKrau/terraform-provider-simplemdm
v0.2.3
v0.1.18
What's Changed
- Use provider context instead of a new background by @tomsiouan in #21
- Add app resource by @tomsiouan in #20
Full Changelog: v0.1.17...v0.1.18
v0.1.17
Script Jobs added
What's Changed
Working
Creation
Reading
Known Issues
Naming jobs during creation: It is currently not possible to assign a proper name to a job during creation because the SimpleMDM API does not support this feature. The API just give automatically the following name : "API Job"
Job scheduling: The API does not allow jobs to be scheduled for execution at this time.
Deleting a script job: Deleting a job is not applicable since the resource does not really exist in the SimpleMDM API. While the API mentions that jobs can be canceled, scheduling them is not yet implemented.
Job import: is currently disable because of missing script_id missing in API response
Other
Update is note supported, the API doesn't allow us to do this.
Next Step
I will contact SimpleMDM support to request the implementation of these features.
- Issue18 Small script jobs fixes by @DavidKrau in #19
- Script Jobs by @tomsiouan #18
Thank to @tomsiouan
Full Changelog: v0.1.16...v0.1.17
v0.1.16
Device group update
- in previous versions of provider profiles and custom profiles were not compared to state in SimpleMDM which was now corrected. (this limitation still applies to devices and assignments groups)
What's Changed
- Custom profiles and Profile for device groups by @DavidKrau in #17
Full Changelog: v0.1.15...v0.1.16
v0.1.15
New version of terraform provider with following changes:
simplemdm_customprofile:
fileshawill be removed, was previously used to track changes. Now provider compares profile downloaded via API tomobileconfigmobileconfigno longer accept path but string with profile, by this change we will be able to use raw mobileconfig string, orfile/templatefilefunctions to load string from mobileconfig files
simplemdm_script:
filesha will be removed, was previously used to track changes. Now provider compares content in API response to scriptfile
scriptfileno longer accept path but string with script, by this change we will be able to use raw string of the script, orfile/templatefilefunctions to load string from script file
In case you are using older version you will need to adjust your configuration after upgrade to version 0.1.15 (or later).
- Remove all
fileshafrom all configurations. - You will need to add terraform function
file()for eachmobileconfigorscriptfile. Example: old configuration:mobileconfig = "./profiles/myconfig.mobileconfig"newconfiguration: mobileconfig = file("./profiles/myconfig.mobileconfig"). Or usetemplatefile()or just string 😉
This will greatly improve importing to TF, remove partially mirrored line in configuration, add new options and better visibility what was changed (as we will see exact line which will be changed in script/profile).
What's Changed
- Fix typo: curretly -> currently by @remilapeyre in #14
- Fix example for simplemdm_assignmentgroup by @remilapeyre in #13
- Issue #12 by @DavidKrau in #15
New Contributors
- @remilapeyre made their first contribution in #14
Full Changelog: v0.1.14...v0.1.15
v0.1.14
v0.1.12
What's Changed
- Fixed error messages in provider by @DavidKrau in #9
- Fix the 404 error when the script resource is not found by @rayennh in #8
- Removing resource state if resource is deleted via web ui by @DavidKrau in #10
Currently following resources will be removed from state (and recreated) in case they are deleted from SimpleMDM web UI: attribute, assignmentGroup, device, customProfile, script.
##Contributors
Full Changelog: v0.1.11...v0.1.12
v0.1.11
v0.1.10
What's Changed
- Device Enrolment URL Fix by @DavidKrau in #5
- updated workflow with new go releaser
Full Changelog: v0.1.9...v0.1.10
v0.1.9
What's Changed
-
script data source
-
script resource, tests, docs, client update
-
added IDs for script tests
-
Fixed error handilng in device resource
-
Typos corrections
-
docs fixes
Full Changelog: v0.1.8...v0.1.9