Skip to content

Commit cf7c482

Browse files
authored
Fixing dynamodb server side encryption (cloudposse#67)
1 parent 6613d91 commit cf7c482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ resource "aws_dynamodb_table" "with_server_side_encryption" {
213213
}
214214

215215
resource "aws_dynamodb_table" "without_server_side_encryption" {
216-
count = var.enable_dynamodb && var.enable_server_side_encryption ? 0 : 1
216+
count = var.enable_dynamodb || var.enable_server_side_encryption ? 0 : 1
217217
name = module.dynamodb_table_label.id
218218
billing_mode = var.billing_mode
219219
read_capacity = var.billing_mode == "PROVISIONED" ? var.read_capacity : null

0 commit comments

Comments
 (0)