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

Implement 'admin update table' command to call UpdateTable API for existing tables. Only mode and CU for now. #2

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

thash
Copy link
Contributor

@thash thash commented Nov 17, 2020

Issue #, if available: N/A

Description of changes:

Adding dy admin update table command to update existing table. For now it supports only following operations:

  • changing mode (Provisioned/OnDemand)
  • changing WCU/RCU of the base table

Example 1, switching from OnDemand mode to Provisioned mode with WCU/RCU specified. If you omit WCU/RCU, default value (5) would be used.

$ dy admin update table my_ondemand_table --mode provisioned --wcu 10 --rcu 25

Example 2, change only WCU of the Provisioned table.

$ dy admin update table my_provisioned_table --wcu 20

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@thash thash changed the title Add 'dy admin update table' command to update existing tables Implement 'admin update table' command to call UpdateTable API for existing tables. Only mode and CU for now. Nov 18, 2020
@thash thash merged commit 1ddb644 into awslabs:main Nov 18, 2020
@thash thash deleted the update_command branch November 18, 2020 03:12
@thash thash mentioned this pull request Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant