DBProxyAlreadyExistsFault when provisioning aws_db_proxy

Hello, I am running into an odd situation when attempting to provision an AWS RDS Proxy using terraform v0.13.5. When attempting to apply my state I get the following error:

aws_db_proxy.qa-metabase-proxy: Creating...

Error: Error creating DB Proxy: DBProxyAlreadyExistsFault: The DBProxy 'qa-metabase-proxy' already exists
	status code: 400, request id: c74e1875-ebc3-4e50-b602-af8c12720d98

I validated that there is no db_proxy named that via the AWS console and the AWS cli:

$ aws rds describe-db-proxies|grep qa-metabase-proxy

Interestingly enough when I manually create a proxy using the same name as above via the AWS console it allows me to create the proxy. Then if I attempt to apply the terraform state (without first deleting the proxy I manually create) the error does not come back - but the terraform apply process never completes. Removing the manually create proxy, then re-applying the TF state brings me back to the original error of a proxy by that name already existing (even though it does not).

I was wondering if this is a bug with the version of TF I’m using or if anyone else has seen this?

I’ve just had the same issue with RDS proxy creation

We did get it to work on version 0.13.5 but had to restrict the provider

terraform {
required_providers {
aws = {
source = “hashicorp/aws”
version = “~> 3.17.0”

This allowed us to create normally -