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
demandé il y a 3 mois96 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile picture
EXPERT
vérifié il y a 3 mois
profile picture
EXPERT
vérifié il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions