Acceptance Testing: External Provider

I want to load some external providers for acceptance testing. For Ex - Hashicorp TLS provider. Where should I specify this in config. I am getting error -

The following dependency selections recorded in the lock file are
inconsistent with the current configuration:
- provider Terraform Registry required by this configuration but no version is selected