Skip to content

Commit 59848e2

Browse files
committed
feat: rename platform_scope and platform_scope_id to platform_tenant_id for clarity in provider configuration
1 parent 3d4ea60 commit 59848e2

2 files changed

Lines changed: 7 additions & 22 deletions

File tree

docs/index.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ provider "jamfpro" {
2525
jamfpro_instance_fqdn = var.jamfpro_instance_fqdn
2626
auth_method = var.jamfpro_auth_method
2727
platform_base_url = var.jamfpro_platform_base_url
28-
platform_scope = var.jamfpro_platform_scope
29-
platform_scope_id = var.jamfpro_platform_scope_id
28+
platform_tenant_id = var.jamfpro_platform_tenant_id
3029
client_id = var.jamfpro_client_id
3130
client_secret = var.jamfpro_client_secret
3231
basic_auth_username = var.jamfpro_basic_auth_username
@@ -57,14 +56,8 @@ variable "jamfpro_platform_base_url" {
5756
default = ""
5857
}
5958
60-
variable "jamfpro_platform_scope" {
61-
description = "The platform gateway scope type when auth_method is 'platform'. Valid values are 'environment' or 'tenant'."
62-
type = string
63-
default = ""
64-
}
65-
66-
variable "jamfpro_platform_scope_id" {
67-
description = "The platform gateway scope identifier (UUID) when auth_method is 'platform'."
59+
variable "jamfpro_platform_tenant_id" {
60+
description = "The platform gateway tenant identifier (UUID) when auth_method is 'platform'."
6861
sensitive = true
6962
type = string
7063
default = ""
@@ -152,8 +145,7 @@ variable "jamfpro_mandatory_request_delay_milliseconds" {
152145
TEMP SOLUTION UNTIL JAMF PROVIDES SOLUTION
153146
- `mandatory_request_delay_milliseconds` (Number) A mandatory delay after each request before returning to reduce high volume of requests in a short time
154147
- `platform_base_url` (String) The Jamf platform gateway base URL for authentication when auth_method is 'platform'. Example: https://us.api.platform.jamf.com
155-
- `platform_scope` (String) The platform gateway scope type required when auth_method is 'platform'. Valid values are 'environment' or 'tenant'.
156-
- `platform_scope_id` (String, Sensitive) The platform gateway scope identifier required when auth_method is 'platform'. This is the UUID that identifies the target environment or tenant.
148+
- `platform_tenant_id` (String, Sensitive) The platform gateway tenant identifier (UUID) required when auth_method is 'platform'. This identifies the target Jamf Pro tenant.
157149
- `token_refresh_buffer_period_seconds` (Number) The buffer period in seconds for token refresh.
158150

159151
<a id="nestedblock--custom_cookies"></a>

examples/provider/provider.tf

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ provider "jamfpro" {
1111
jamfpro_instance_fqdn = var.jamfpro_instance_fqdn
1212
auth_method = var.jamfpro_auth_method
1313
platform_base_url = var.jamfpro_platform_base_url
14-
platform_scope = var.jamfpro_platform_scope
15-
platform_scope_id = var.jamfpro_platform_scope_id
14+
platform_tenant_id = var.jamfpro_platform_tenant_id
1615
client_id = var.jamfpro_client_id
1716
client_secret = var.jamfpro_client_secret
1817
basic_auth_username = var.jamfpro_basic_auth_username
@@ -43,14 +42,8 @@ variable "jamfpro_platform_base_url" {
4342
default = ""
4443
}
4544

46-
variable "jamfpro_platform_scope" {
47-
description = "The platform gateway scope type when auth_method is 'platform'. Valid values are 'environment' or 'tenant'."
48-
type = string
49-
default = ""
50-
}
51-
52-
variable "jamfpro_platform_scope_id" {
53-
description = "The platform gateway scope identifier (UUID) when auth_method is 'platform'."
45+
variable "jamfpro_platform_tenant_id" {
46+
description = "The platform gateway tenant identifier (UUID) when auth_method is 'platform'."
5447
sensitive = true
5548
type = string
5649
default = ""

0 commit comments

Comments
 (0)