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

[Enhancement]: r/aws_dynamodb_table: Support On-Demand Throughput #37256

Closed
5 tasks done
jar-b opened this issue May 3, 2024 · 5 comments · Fixed by #37799
Closed
5 tasks done

[Enhancement]: r/aws_dynamodb_table: Support On-Demand Throughput #37256

jar-b opened this issue May 3, 2024 · 5 comments · Fixed by #37799
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/dynamodb Issues and PRs that pertain to the dynamodb service.
Milestone

Comments

@jar-b
Copy link
Member

jar-b commented May 3, 2024

Description

The CreateTable and UpdateTable APIs now support configuration of on-demand throughput for tables and global secondary indexes. The aws_dynamodb_table resource should add corresponding arguments. Overrides can also be applied to replication

  • Add on_demand_throughput block argument, containing max_read_request_units and max_write_request_units arguments. r/aws_dynamodb_table: add on_demand_throughput attribute  #37799
  • Add the ability to configure the same options on global secondary indexes (ie. the same on_demand_throughput argument, but nested inside the global_secondary_index block).
  • Assess whether the import_table and replica blocks can incorporate on_demand_throughput_override configurations.
  • Add acceptance tests for both cases.
  • Update registry documentation.

Affected Resource(s) and/or Data Source(s)

  • aws_dynamodb_table

Potential Terraform Configuration

resource "aws_dynamodb_table" "example" {
  ### other configuration ###

  on_demand_throughput {
    max_read_request_units  = 1
    max_write_request_units = 1
  }

  global_secondary_index {
    on_demand_throughput {
      max_read_request_units  = 2
      max_write_request_units = 2
    }
  }
}

References

Would you like to implement a fix?

None

@jar-b jar-b added the enhancement Requests to existing resources that expand the functionality or scope. label May 3, 2024
Copy link

github-actions bot commented May 3, 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.

@nirajvbhatt
Copy link

We need this feature asap. Any insights into when will this be prioritised?

@anthonymag
Copy link

Worth noting this is in AWS's Cloud Control provider, as an alternative in the meantime:
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/dynamodb_table#on_demand_throughput

Copy link

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.72.0 milestone Oct 14, 2024
Copy link

This functionality has been released in v5.72.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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/dynamodb Issues and PRs that pertain to the dynamodb service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants