58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# File 'lib/terrafying/dynamodb/state.rb', line 58
def table
{
table_name: @table_name,
attribute_definitions: [
{
attribute_name: "scope",
attribute_type: "S",
},
{
attribute_name: "serial",
attribute_type: "N",
}
],
key_schema: [
{
attribute_name: "scope",
key_type: "HASH",
},
{
attribute_name: "serial",
key_type: "RANGE",
},
],
provisioned_throughput: {
read_capacity_units: 1,
write_capacity_units: 1,
}
}
end
|