Custom AWS provider but Terraform still pulls the hashicorp default one

I built and published an AWS Provider with a few tweaks we need. I tried using it but am getting conflicts as even though I removed all references to hashicorp/aws from the project, terraform init is still installing the official provider (next to mine).
My configuration is:

terraform {
  required_providers {
    custom-aws = {
      version = "= 0.0.2"
      source = "peov/aws"
  required_version = ">= 1.1.8"

“terraform providers” prints:

├── provider[] 0.0.2
└── provider[]

Why is it still installing the official provider? How do I get rid of it?

I have already deleted the provider lockfile and all of the local terraform files, tried with a clean pull. Always get the official provider next to mine