Provider Configuration not present error

I am new to Terraform and stuck in a situation where its showing Terraform configuration not present.
I was trying to establish a VPC peering and route table. Please help

provider "aws" {
  alias   = "owner"
  profile = var.owner_profile
  region  = var.region

/*provider "aws" {
  alias   = "accepter"
  region  = var.region
  profile = var.accepter_profile

resource "aws_vpc_peering_connection" "owner" {
  vpc_id        = var.owner_vpc_id
  peer_vpc_id   = var.accepter_vpc_id
  peer_owner_id = var.owner_id

  tags = {
    Name = "peer_to_${var.accepter_profile}"

resource "aws_vpc_peering_connection_accepter" "accepter" {
  provider                  = aws.accepter
  vpc_peering_connection_id =
  auto_accept               = false

  tags = {
    Name = "peer_to_${var.owner_profile}"

Hi @godgiftedme,

In the configuration example you shared, the provider configuration is inside a comment and therefore not visible to Terraform. Do you see different behavior if you remove the comment markers so that the provider configuration will be parsed?