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 planThe TRACE level is the most verbose and will include all API calls made by the provider to the Infoblox NIOS WAPI.
For debugging specific issues with the NIOS provider:
- Use
DEBUGorTRACElog levels to see the API requests and responses - Check the request body and response status codes for API errors
- Verify the WAPI version compatibility with your NIOS Grid Manager
- Ensure correct credentials and permissions in the NIOS system
For more information on debugging Terraform providers, refer to the Terraform debugging documentation.