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

Add support for local secondary indexes #11

Open
kopatsy opened this issue Mar 5, 2022 · 1 comment
Open

Add support for local secondary indexes #11

kopatsy opened this issue Mar 5, 2022 · 1 comment

Comments

@kopatsy
Copy link
Contributor

kopatsy commented Mar 5, 2022

Because attrtibute are ignored on the aws_dynamodb_table resource, one will not be able to create a local secondary index with attributes that are not already declared by an existing GSI or the table itself.
The proposed workaround is to introduce a gsi_local_secondary_index resource in this provider.

@schampilomatis
Copy link

You can only create local secondary indexes when a table is created, meaning that this is a non-issue.
From https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LSI.html
Local secondary indexes on a table are created when the table is created.

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

2 participants