-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestTerraformAwsRdsExample intermittently failing due to instance type #783
Comments
I could take a look at this. I'm guessing if there is an endpoint where we can get a list of a valid db instance types for a particular region, we could query that then just pick one. |
Thanks! We actually already have a solution for this for EC2 instance types, so we probably need something similar for RDS: Line 398 in 0c883d7
|
I started working on this today. I plan on using https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#RDS.DescribeOrderableDBInstanceOptions to get a list of valid instances for the region/db engine and finding a match based on the user's provided list of instances, similar to the ec2 implementation. I'll try to get a pr in for this within the next week. |
Roger, thx! |
Fixed by @alpacamybags118 in #799 and released in https://github.com/gruntwork-io/terratest/releases/tag/v0.32.11. |
Looks like some regions no longer have
db.t2.micro
, so when the test randomly picks one such region, it fails (the test run above usedeu-north-1
).The text was updated successfully, but these errors were encountered: