Skip to content

Commit fb2d531

Browse files
authored
Merge pull request #14 from rackspace-infrastructure-automation/example_updates
Update examples
2 parents 34b6d70 + 945e81a commit fb2d531

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

examples/example.tf

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,46 @@ provider "aws" {
88
}
99

1010
module "dynamo_table_provisioned" {
11-
source = "git@github.com/rackspace-infrastructure-automation/aws-terraform-dynamo//?ref=v0.12.2"
11+
source = "git@github.com:rackspace-infrastructure-automation/aws-terraform-dynamo//?ref=v0.12.2"
1212

1313
enable_pay_per_request = false
14-
hash_key = "<HashKeyName>"
15-
name = "<TableName>"
14+
hash_key = "user_id"
15+
name = "corp_office"
1616
point_in_time_recovery = true
17-
range_key = "<RangeKey>"
17+
range_key = "department_id"
1818
read_capacity_units = 5
19-
table_encryption = true
19+
table_encryption_cmk = true
2020
write_capacity_units = 10
2121

2222
attributes = [
2323
{
24-
name = "<HashKeyName>"
24+
name = "user_id"
2525
type = "S"
2626
},
2727
{
28-
name = "<RangeKey>"
28+
name = "department_id"
2929
type = "N"
3030
},
3131
]
3232
}
3333

3434
module "dynamo_table_pay_per_requst" {
35-
source = "git@github.com/rackspace-infrastructure-automation/aws-terraform-dynamo//?ref=v0.12.2"
35+
source = "git@github.com:rackspace-infrastructure-automation/aws-terraform-dynamo//?ref=v0.12.2"
3636

3737
enable_pay_per_request = true
38-
hash_key = "<HashKeyName>"
39-
name = "<TableName>"
38+
hash_key = "user_id"
39+
name = "branch_office"
4040
point_in_time_recovery = true
41-
range_key = "<RangeKey>"
42-
table_encryption = true
41+
range_key = "department_id"
42+
table_encryption_cmk = true
4343

4444
attributes = [
4545
{
46-
name = "<HashKeyName>"
46+
name = "user_id"
4747
type = "S"
4848
},
4949
{
50-
name = "<RangeKey>"
50+
name = "department_id"
5151
type = "N"
5252
},
5353
]

0 commit comments

Comments
 (0)