Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 992 Bytes

File metadata and controls

26 lines (18 loc) · 992 Bytes

Terraform Logging

Terraform has detailed logs that can help debug provider issues. To enable them, set the TF_LOG environment variable to one of the log levels: TRACE, DEBUG, INFO, WARN, or ERROR:

# For Linux/macOS
export TF_LOG=DEBUG
terraform plan

# For Windows PowerShell
$env:TF_LOG="DEBUG"
terraform plan

The TRACE level is the most verbose and will include all API calls made by the provider to the Infoblox NIOS WAPI.

Provider-Specific Debugging

For debugging specific issues with the NIOS provider:

  1. Use DEBUG or TRACE log levels to see the API requests and responses
  2. Check the request body and response status codes for API errors
  3. Verify the WAPI version compatibility with your NIOS Grid Manager
  4. Ensure correct credentials and permissions in the NIOS system

For more information on debugging Terraform providers, refer to the Terraform debugging documentation.