kuttleio / terraform-aws-environment

Kuttle - Blueprint - Main
https://ktl.ai
Apache License 2.0
0 stars 0 forks source link

feat: add dynamodb #87

Open debu99 opened 10 months ago

debu99 commented 10 months ago

input:

datastores = {
  dynamodb = {
    "test1" = {
      table_name                = "test1"
      hash_key                  = "id"
      attributes = [
        {
          name = "id"
          type = "S"
        }
      ]
    }
    "test2" = {
      table_name                = "test2"
      billing_mode              = "PROVISIONED"
      read_capacity             = 1
      write_capacity            = 1
      autoscaling_read_enabled  = true
      autoscaling_write_enabled = true
      hash_key                  = "id"
      attributes = [
        {
          name = "id"
          type = "S"
        }
      ]
    }
  }
}