"unknown provider" nested provider error on Terraform Cloud

I solved my problem by pulling the state using terraform state pull > state.json and replacing all instances of “registry.terraform.io/-/aws” with “registry.terraform.io/hashicorp/aws” and making sure that everything is using the same AWS provider version

Might be unrelated but also might not - I finally removed all “Quoted identifiers” which are deprecated