Provides a DynamoDB contributor insights resource
resource "aws_dynamodb_contributor_insights" "test" {
table_name = "ExampleTableName"
}
This resource supports the following arguments:
table_name
- (Required) The name of the table to enable contributor insightsindex_name
- (Optional) The global secondary index nameThis resource exports the following attributes in addition to the arguments above:
In Terraform v1.5.0 and later, use an import
block to import aws_dynamodb_contributor_insights
using the format name:table_name/index:index_name
, followed by the account number. For example:
import {
to = aws_dynamodb_contributor_insights.test
id = "name:ExampleTableName/index:ExampleIndexName/123456789012"
}
Using terraform import
, import aws_dynamodb_contributor_insights
using the format name:table_name/index:index_name
, followed by the account number. For example:
% terraform import aws_dynamodb_contributor_insights.test name:ExampleTableName/index:ExampleIndexName/123456789012