Documentation ¶
Overview ¶
providers.go
Index ¶
Constants ¶
const TerraformProviderProductUserAgent = "terraform-provider-jamfpro"
TerraformProviderProductUserAgent is included in the User-Agent header for any API requests made by the provider.
Variables ¶
This section is empty.
Functions ¶
func GetClientID ¶
func GetClientID(d *schema.ResourceData) (string, error)
GetClientID retrieves the 'client_id' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_CLIENT_ID environment variable.
func GetClientSecret ¶
func GetClientSecret(d *schema.ResourceData) (string, error)
GetClientSecret retrieves the 'client_secret' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_CLIENT_SECRET environment variable.
func GetInstanceName ¶
func GetInstanceName(d *schema.ResourceData) (string, error)
GetInstanceName retrieves the 'instance_name' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_INSTANCE_NAME environment variable.
Types ¶
This section is empty.