Invalid Resource type for rds proxy

Hey Guys,
I want to use aws_db_proxy and
I got this error:

Error: Invalid resource type
on line 181, in resource “aws_db_proxy” “db_proxy”:
resource “aws_db_proxy” “db_proxy” {
The provider does not support resource type “aws_db_proxy”.

terraform version : 0.12.24

provider “aws” {
region = var.region
profile = var.env
version = “~> 2.0”
assume_role {
role_arn = var.provider_role

please help me to fix it