[Bug]: DynamoDB table on_demand_throughput
errors when only one of max_write_request_units
or max_read_request_units
is specified
#39760
Labels
bug
Addresses a defect in current functionality.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
Milestone
Terraform Core Version
1.5.7
AWS Provider Version
5.72.1
Affected Resource(s)
aws_dynamodb_table.on_demand_throughput
Expected Behavior
Be able to specify either
max_read_request_units
ormax_write_request_units
but not require both.Actual Behavior
Specifying only one of
max_write_request_units
ormax_read_request_units
inaws_dynamodb_table.on_demand_throughput
produces an error.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Run terraform apply with provided code with only
max_read_request_units
specified.Debug Output
No response
Panic Output
No response
Important Factoids
Docs indicate arguments are optional and that you should be able to specify one or both.
https://github.com/hashicorp/terraform-provider-aws/blob/main/website/docs/r/dynamodb_table.html.markdown#on_demand_throughput
You can specify only one if you manually configure this via console or CLI.
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: