debug-resource
Installation
SKILL.md
Debug Terraform Resource
This skill helps debug issues with Terraform resources in the DataRobot provider.
Common Issues
1. Resource Not Found After Create
- Check if the API returns the correct ID
- Verify the ID is stored in state:
data.ID = types.StringValue(response.ID) - Look for
client.NotFoundErrorhandling in Read
2. State Drift
- Ensure Read populates all computed fields
- Check for fields that should use
UseStateForUnknown()plan modifier - Verify Optional fields handle empty vs null correctly