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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠