We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6613d91 commit cf7c482Copy full SHA for cf7c482
main.tf
@@ -213,7 +213,7 @@ resource "aws_dynamodb_table" "with_server_side_encryption" {
213
}
214
215
resource "aws_dynamodb_table" "without_server_side_encryption" {
216
- count = var.enable_dynamodb && var.enable_server_side_encryption ? 0 : 1
+ count = var.enable_dynamodb || var.enable_server_side_encryption ? 0 : 1
217
name = module.dynamodb_table_label.id
218
billing_mode = var.billing_mode
219
read_capacity = var.billing_mode == "PROVISIONED" ? var.read_capacity : null
0 commit comments