Failed to query available provider packages conflict with version 5.0.0

I run my terraform code in terraform cloud already 2 mounth, and today get this error Error: Failed to query available provider packages

│ Could not retrieve the list of available versions for provider
│ hashicorp/aws: no available releases match the given constraints >= 2.49.0,
│ >= 2.55.0, >= 3.29.0, >= 3.75.0, >= 4.0.0, >= 4.6.0, >= 4.9.0, >= 4.22.0,
│ >= 4.29.0, >= 4.37.0, >= 4.40.0, >= 4.59.0, >= 4.65.0, >= 5.0.0, 5.0.0, >=
│ 5.20.0

my code like this terraform {
required_providers {
aws = {
source = “hashicorp/aws”
version = “5.0.0”
}
azurerm = {
source = “hashicorp/azurerm”
version = “~> 3.0”
}
}
}

provider “aws” {
region = var.region_name
}. my terraform version is 1.6.3

Hi @TatevHunanyan-BM,

It seems that you have at least one module in your configuration that is not compatible with provider version 5.0.0.

You can use the command terraform providers to get an overview of which provider versions each module declares compatibility with. You will need to select modules that have at least one provider version that they are all compatible with.