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

AWS::DynamoDB::Table - One key has to have Range when doing LSI #3110

Open
2 tasks done
kddejong opened this issue Mar 21, 2024 · 1 comment
Open
2 tasks done

AWS::DynamoDB::Table - One key has to have Range when doing LSI #3110

kddejong opened this issue Mar 21, 2024 · 1 comment
Labels
v1 v1.X

Comments

@kddejong
Copy link
Contributor

Is this feature request related to a new rule or cfn-lint capabilities?

No response

Describe the feature you'd like to request

One or more parameter values were invalid: Table KeySchema does not have a range key, which is required when specifying a LocalSecondaryIndex

Describe the solution you'd like

Detect this issue.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change
@kddejong
Copy link
Contributor Author

Table:
    Type: AWS::DynamoDB::Table
    Properties:
      KeySchema:
      - AttributeName: Key
        KeyType: HASH
      AttributeDefinitions:
        - AttributeName: Key
          AttributeType: S
      ProvisionedThroughput:
        ReadCapacityUnits: 5
        WriteCapacityUnits: 5
      LocalSecondaryIndexes:
        - IndexName: test
          KeySchema:
          - AttributeName: Key
            KeyType: RANGE
          Projection:
            ProjectionType: ALL

@kddejong kddejong added the v1 v1.X label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 v1.X
Projects
None yet
Development

No branches or pull requests

1 participant