Possible BUG: Creation of RDS Proxy truncates the last value from the subnet list

3

I started with Terraform Provider for AWS RDS Proxy and found that state was always different from the applied code, only in the case of subnets - one of the subnets I specified was missing.

So I tried to create one RDS proxy via the AWS Console UI and discovered the same problem: when I set 3 subnets, the RDS proxy was only set with 2 of them. After setting it to 4 subnets, I ended up with an RDS Proxy with 3 of them.

A proxy server was created for the RDS Aurora MySQL v2 Serverless Cluster.

Any ideas why this is happening?

Kulmate
已提問 3 個月前檢視次數 96 次
1 個回答
1
已接受的答案

Ok, I found the problem. According to docs: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html#rds-proxy.limitations

Certain Regions have Availability-Zone (AZ) restrictions to consider while creating your proxy. US East (N. Virginia) Region does not support RDS Proxy in the use1-az3 Availability Zone.

One of my subnet was in use1-az3 region.

Then it would be expected the API returned an error when subnet from a forbidden zone was selected to be in use. Currently only returns an error when 2 subnets are selected as input. With 3 or more, everything passes, but the forbidden subnet disappears.

Kulmate
已回答 3 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 3 個月前
profile picture
專家
已審閱 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南