Skip to content

Commit

Permalink
Fixing dynamodb server side encryption (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode authored Sep 17, 2020
1 parent 6613d91 commit cf7c482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ resource "aws_dynamodb_table" "with_server_side_encryption" {
}

resource "aws_dynamodb_table" "without_server_side_encryption" {
count = var.enable_dynamodb && var.enable_server_side_encryption ? 0 : 1
count = var.enable_dynamodb || var.enable_server_side_encryption ? 0 : 1
name = module.dynamodb_table_label.id
billing_mode = var.billing_mode
read_capacity = var.billing_mode == "PROVISIONED" ? var.read_capacity : null
Expand Down

0 comments on commit cf7c482

Please sign in to comment.