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

Question: what is the purpose of autoscaling_enabled? #20

Open
alexjurkiewicz opened this issue Mar 28, 2023 · 0 comments
Open

Question: what is the purpose of autoscaling_enabled? #20

alexjurkiewicz opened this issue Mar 28, 2023 · 0 comments

Comments

@alexjurkiewicz
Copy link
Contributor

autoscaling_enabled seems to do a few things:

  • Schema: When true, diffs to read_capacity and write_capacity are suppressed, and the values are removed from state
  • Validation: When true, raise an error if billing_mode = "PAY_PER_REQUEST"
  • When false and billing_mode = "PROVISIONED", update read & write capacity when updating the index

Can we replace this explicit attribute by detecting the autoscaling mode from the table? Or is there some reason you haven't done this?

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

No branches or pull requests

1 participant