Skip to content
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

[Bug]: aws_rds_orderable_db_instance, MaxRecords is too high #37221

Closed
faymard opened this issue May 2, 2024 · 4 comments · Fixed by #37251
Closed

[Bug]: aws_rds_orderable_db_instance, MaxRecords is too high #37221

faymard opened this issue May 2, 2024 · 4 comments · Fixed by #37251
Labels
bug Addresses a defect in current functionality. service/rds Issues and PRs that pertain to the rds service.
Milestone

Comments

@faymard
Copy link

faymard commented May 2, 2024

Terraform Core Version

1.6.5

AWS Provider Version

5.47.0

Affected Resource(s)

aws_rds_orderable_db_instance

Expected Behavior

This datasource allows us to get information on DB instance types.

Actual Behavior

We encounter a 400 status code while querying this data source. The message is shown below.

Relevant Error/Panic Output Snippet

╷
│ Error: reading RDS Orderable DB Instance Options: InvalidParameterValue: Invalid value 3412 for MaxRecords. Must be between 20 and 1000
│ 	status code: 400, request id: c414083f-ffbc-4a8e-9ae0-ec81a14afe93
│ 
│   with module.amiante_exposition-db.data.aws_rds_orderable_db_instance.rds_instance_info,
│   on terraform_modules/aws-rds/05_datasources.tf line 8, in data "aws_rds_orderable_db_instance" "rds_instance_info":
│    8: data "aws_rds_orderable_db_instance" "rds_instance_info" {
│ 
╵

Terraform Configuration Files

data "aws_rds_orderable_db_instance" "rds_instance_info" {
  engine         = var.engine
  engine_version = var.engine_version
  instance_class = var.instance_type
  storage_type   = var.storage_type
}

Steps to Reproduce

  • Run terraform plan
  • Error is raised right after

Debug Output

No response

Panic Output

No response

Important Factoids

Going to versions 5.36.0 and below "solves" this error.

References

The value given in the error message seems to be hardcoded here and packaged from version 5.37.0.

Would you like to implement a fix?

None

@faymard faymard added the bug Addresses a defect in current functionality. label May 2, 2024
Copy link

github-actions bot commented May 2, 2024

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/rds Issues and PRs that pertain to the rds service. label May 2, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label May 2, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label May 2, 2024
Copy link

github-actions bot commented May 3, 2024

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions bot added this to the v5.49.0 milestone May 3, 2024
Copy link

This functionality has been released in v5.49.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

github-actions bot commented Jun 9, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/rds Issues and PRs that pertain to the rds service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants