In terraform provider cache plugin not working on macOS

Hello, I am trying to store the provider plugin in the cache and re-use it. I can store the AWS provider plugin cache in the cache directory. But when I create and try for another directory for same provider plugin version it’s downloading from internet.