Documentation ¶
Overview ¶
providers.go
Index ¶
- Constants
- func GetClientID(d *schema.ResourceData) (string, error)
- func GetClientPassword(d *schema.ResourceData) (string, error)
- func GetClientSecret(d *schema.ResourceData) (string, error)
- func GetClientUsername(d *schema.ResourceData) (string, error)
- func GetInstanceName(d *schema.ResourceData) (string, error)
- func Provider() *schema.Provider
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 GetClientPassword ¶ added in v0.0.43
func GetClientPassword(d *schema.ResourceData) (string, error)
GetClientPassword retrieves the 'password' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_PASSWORD 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 GetClientUsername ¶ added in v0.0.43
func GetClientUsername(d *schema.ResourceData) (string, error)
GetClientUsername retrieves the 'username' value from the Terraform configuration. If it's not present in the configuration, it attempts to fetch it from the JAMFPRO_USERNAME 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.