driftctl/pkg/iac/terraform/state/test/dynamodb_table/result.golden.json

104 lines
2.0 KiB
JSON
Executable File

[
{
"Id": "example",
"Type": "aws_dynamodb_table",
"Attrs": {
"arn": "arn:aws:dynamodb:us-east-1:526954929923:table/example",
"attribute": [
{
"name": "TestTableHashKey",
"type": "S"
}
],
"billing_mode": "PAY_PER_REQUEST",
"hash_key": "TestTableHashKey",
"id": "example",
"name": "example",
"point_in_time_recovery": [
{
"enabled": false
}
],
"read_capacity": 0,
"replica": [
{
"region_name": "us-east-2"
},
{
"region_name": "us-west-2"
}
],
"stream_arn": "arn:aws:dynamodb:us-east-1:526954929923:table/example/stream/2021-02-10T15:07:54.928",
"stream_enabled": true,
"stream_label": "2021-02-10T15:07:54.928",
"stream_view_type": "NEW_AND_OLD_IMAGES",
"ttl": [
{
"attribute_name": "",
"enabled": false
}
],
"write_capacity": 0
}
},
{
"Id": "GameScores",
"Type": "aws_dynamodb_table",
"Attrs": {
"arn": "arn:aws:dynamodb:us-east-1:526954929923:table/GameScores",
"attribute": [
{
"name": "GameTitle",
"type": "S"
},
{
"name": "TopScore",
"type": "N"
},
{
"name": "UserId",
"type": "S"
}
],
"billing_mode": "PROVISIONED",
"global_secondary_index": [
{
"hash_key": "GameTitle",
"name": "GameTitleIndex",
"non_key_attributes": [
"UserId"
],
"projection_type": "INCLUDE",
"range_key": "TopScore",
"read_capacity": 10,
"write_capacity": 10
}
],
"hash_key": "UserId",
"id": "GameScores",
"name": "GameScores",
"point_in_time_recovery": [
{
"enabled": false
}
],
"range_key": "GameTitle",
"read_capacity": 20,
"stream_arn": "",
"stream_enabled": false,
"stream_label": "",
"stream_view_type": "",
"tags": {
"Environment": "production",
"Name": "dynamodb-table-1"
},
"ttl": [
{
"attribute_name": "",
"enabled": false
}
],
"write_capacity": 20
}
}
]