Skip to content

Commit

Permalink
Update Jamf Pro provider version to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ShocOne committed Sep 26, 2024
1 parent 13ee18f commit ca69d13
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 56 deletions.
54 changes: 27 additions & 27 deletions workload/terraform/jamfpro/buildings.tf
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@

resource "jamfpro_building" "jamfpro_building_001" {
name = "tf-demo-Apple-Park"
street_address1 = "The McIntosh Tree"
street_address2 = "One Apple Park Way"
city = "Cupertino"
state_province = "California"
zip_postal_code = "95014"
country = "The United States of America"
}
# resource "jamfpro_building" "jamfpro_building_001" {
# name = "tf-demo-Apple-Park"
# street_address1 = "The McIntosh Tree"
# street_address2 = "One Apple Park Way"
# city = "Cupertino"
# state_province = "California"
# zip_postal_code = "95014"
# country = "The United States of America"
# }

resource "jamfpro_building" "jamfpro_building_002" {
name = "tf-demo-jamf-headquarters"
street_address1 = "100 Washington Ave S"
street_address2 = "Suite 1100"
city = "Minneapolis"
state_province = "Minnesota"
zip_postal_code = "55401"
country = "The United States of America"
}
# resource "jamfpro_building" "jamfpro_building_002" {
# name = "tf-demo-jamf-headquarters"
# street_address1 = "100 Washington Ave S"
# street_address2 = "Suite 1100"
# city = "Minneapolis"
# state_province = "Minnesota"
# zip_postal_code = "55401"
# country = "The United States of America"
# }

resource "jamfpro_building" "jamfpro_building_003" {
name = "tf-demo-Apple-Battersea"
street_address1 = "Ground Floor, Turbine Hall A, Circus Rd W, Nine Elms"
street_address2 = "Suite 1100"
city = "London"
state_province = "London"
zip_postal_code = "SW11 8AL"
country = "United Kingdom"
}
# resource "jamfpro_building" "jamfpro_building_003" {
# name = "tf-demo-Apple-Battersea"
# street_address1 = "Ground Floor, Turbine Hall A, Circus Rd W, Nine Elms"
# street_address2 = "Suite 1100"
# city = "London"
# state_province = "London"
# zip_postal_code = "SW11 8AL"
# country = "United Kingdom"
# }
30 changes: 15 additions & 15 deletions workload/terraform/jamfpro/dock_items.tf
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@

resource "jamfpro_dock_item" "jamfpro_dock_item_001" {
name = "tf-demo-dockItem-app-iTunes"
type = "App"
path = "file://localhost/Applications/iTunes.app/"
}
# resource "jamfpro_dock_item" "jamfpro_dock_item_001" {
# name = "tf-demo-dockItem-app-iTunes"
# type = "App"
# path = "file://localhost/Applications/iTunes.app/"
# }

resource "jamfpro_dock_item" "jamfpro_dock_item_002" {
name = "tf-demo-dockItem-file-hosts"
type = "File" // App / File / Folder
path = "/etc/hosts"
}
# resource "jamfpro_dock_item" "jamfpro_dock_item_002" {
# name = "tf-demo-dockItem-file-hosts"
# type = "File" // App / File / Folder
# path = "/etc/hosts"
# }

resource "jamfpro_dock_item" "jamfpro_dock_item_003" {
name = "tf-demo-dockItem-folder-downloadsFolder"
type = "Folder" // App / File / Folder
path = "~/Downloads"
}
# resource "jamfpro_dock_item" "jamfpro_dock_item_003" {
# name = "tf-demo-dockItem-folder-downloadsFolder"
# type = "Folder" // App / File / Folder
# path = "~/Downloads"
# }
26 changes: 13 additions & 13 deletions workload/terraform/jamfpro/macos_configuration_profiles_plist.tf
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

resource "jamfpro_macos_configuration_profile_plist" "jamfpro_macos_configuration_profile_001" {
name = "tf-demo-mcp-accessibility_hearing_base-prod-v0.0.1"
distribution_method = "Install Automatically"
payloads = file("${path.module}/support_files/configuration_profiles/dt-mcp-accessibility_hearing_base-prod-v0.0.1.mobileconfig")
category_id = -1
user_removable = false
level = "System"
redeploy_on_update = "Newly Assigned"
scope {
all_computers = true
all_jss_users = true
}
}
# resource "jamfpro_macos_configuration_profile_plist" "jamfpro_macos_configuration_profile_001" {
# name = "tf-demo-mcp-accessibility_hearing_base-prod-v0.0.1"
# distribution_method = "Install Automatically"
# payloads = file("${path.module}/support_files/configuration_profiles/dt-mcp-accessibility_hearing_base-prod-v0.0.1.mobileconfig")
# category_id = -1
# user_removable = false
# level = "System"
# redeploy_on_update = "Newly Assigned"
# scope {
# all_computers = true
# all_jss_users = true
# }
# }

# resource "jamfpro_macos_configuration_profile_plist" "jamfpro_macos_configuration_profile_002" {
# name = "tf-demo-mcp-accessibility_seeing_base-prod-v0.0.1"
Expand Down
2 changes: 1 addition & 1 deletion workload/terraform/jamfpro/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
jamfpro = {
source = "deploymenttheory/jamfpro"
version = "~> 0.2.0"
version = "~> 0.3.1"
}
}
}
Expand Down

0 comments on commit ca69d13

Please sign in to comment.