Skip to content

Unexpected key ContributorInsightsSpecification #289

@coderhglee

Description

@coderhglee

Dynamodb support ContributorInsightsSpecificationoptions. The options used to enable or disable CloudWatch Contributor Insights.

When running serverless offline start, the following error occurs.


MultipleValidationErrors: There were 4 validation errors:
* UnexpectedParameter: Unexpected key 'ContributorInsightsSpecification' found in params.GlobalSecondaryIndexes[0]
* UnexpectedParameter: Unexpected key 'ContributorInsightsSpecification' found in params.GlobalSecondaryIndexes[1]
* UnexpectedParameter: Unexpected key 'ContributorInsightsSpecification' found in params.GlobalSecondaryIndexes[2]
* UnexpectedParameter: Unexpected key 'ContributorInsightsSpecification' found in params: DynamoDB - Error -

If ContributorInsightsSpecification option is declared in Table Properties and GlobalSecondaryIndexes, you should ignore it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions