dynamodb.tf 643 B

123456789101112131415161718192021222324252627282930
  1. resource "aws_dynamodb_table" "vault" {
  2. name = "vault-dynamodb"
  3. billing_mode = "PAY_PER_REQUEST"
  4. hash_key = "Path"
  5. range_key = "Key"
  6. #checkov:skip=CKV_AWS_119:Encrypted by AWS Owned key config'd via console
  7. # tfsec:ignore:aws-dynamodb-table-customer-key AWS Owned key config'd via console
  8. # tfsec:ignore:aws-dynamodb-enable-at-rest-encryption False positive
  9. server_side_encryption {
  10. enabled = false
  11. }
  12. attribute {
  13. name = "Path"
  14. type = "S"
  15. }
  16. attribute {
  17. name = "Key"
  18. type = "S"
  19. }
  20. point_in_time_recovery {
  21. enabled = true
  22. }
  23. tags = merge(local.standard_tags, var.tags)
  24. }