RDS InvalidParameterCombination - Combination working before

0

When trying to create a DB instance with Terraform, I'm getting the following error:

Creating RDS DB Instance (xxxxx): InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.micro, Engine=postgres, EngineVersion=12.17, LicenseModel=postgresql-license. For supported combinations of instance class and database engine version, see the documentation.

I have successfully created PostgreSQL instances with this combination (db.t2.micro, PostgreSQL 12.17) numerous times in the past, and I still have several of them running smoothly. According to the documentation, this setup should be supported, as t2.micro instances are compatible with PostgreSQL versions up to 12.x.

Additionally, the Terraform code I am using has been tested and was fully functional as of a month ago. I am running the same code again, but with a different instance name, to create another instance identical to the previous one.

Any tips? Thanks

pablo
已提问 23 天前132 查看次数
1 回答
1
已接受的回答

Hello.

Can you check "db.t2.micro" by running the command below?
By the way, I checked "us-east-1" and "us-east-2", but "t2.micro" did not appear in the output.
In other words, "t2.micro" cannot be used.
I think the documentation is probably not up to date.
Therefore, I think it is necessary to use something like "t3", which is the successor of "t2.micro".
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#Concepts.DBInstanceClass.RegionSupport

aws rds describe-orderable-db-instance-options --engine postgres --engine-version 12.17 --query "*[].{DBInstanceClass:DBInstanceClass,StorageType:StorageType}|[?StorageType=='gp2']|[].{DBInstanceClass:DBInstanceClass}" --output text --region "your used region" | grep "t2"

If you have an RDS that uses “t2.micro”, you should have received an email from AWS stating “[Action required] End-of-life date is approaching for Amazon RDS for PostgreSQL database instances on M4, R4 , T2 instance types” from AWS.
The email stated that starting March 11, 2024, you will no longer be able to launch RDS instances using "t2".

profile picture
专家
已回答 23 天前
profile picture
专家
已审核 21 天前
  • Thank you very much for the response! Indeed, I had an email about it. As of March 11, the creation of RDS instances with M4, R4, or T2 was disabled. As you said, it seems that the documentation is outdated regarding this issue. Thank you again for the help

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则