terraform: modify the ResourceProvider API super hardcore