Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

assembleinc/terraform-dynamodb-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamoDB Terraform Module

This is a convenience module for AWS DynamoDB

Usage

module "user_table" {
  source     = "assemble-inc/dynamodb/table"
  table_name = "User"
  hash_key   = "ID"

  dynamodb_attributes = [
    {
      name = "ID"
      type = "S"
    },
  ]
}

Inputs

  • table_name: Table name
  • read_capacity: Read capacity
  • write_capacity: Write capacity
  • enable_encryption: Encryption enabled (Default: true)
  • enable_point_in_time_recovery: Enable point in time recovery (Default: true)
  • hash_key: Hash key
  • range_key: Range key
  • dynamodb_attributes: Attributes list
  • global_secondary_index: Global secondary index list
  • tags: Tags map

Outputs

  • table_arn: Dynamo Table ARN
  • policy_arn: Dynamo Policy ARN

About

DynamoDB Terraform Module [DEPRECATED]

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages