Skip to content

Commit 3e78c7d

Browse files
drosinantonbabenko
andauthored
Rename policy resource
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
1 parent 2de5b7c commit 3e78c7d

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
@@ -377,7 +377,7 @@ resource "aws_dynamodb_table" "autoscaled_gsi_ignore" {
377377
}
378378
}
379379

380-
resource "aws_dynamodb_resource_policy" "table_resource_policy" {
380+
resource "aws_dynamodb_resource_policy" "this" {
381381
count = var.create_table && var.resource_based_policy_json != null ? 1 : 0
382382

383383
resource_arn = try(aws_dynamodb_table.this[0].arn, aws_dynamodb_table.autoscaled[0].arn, aws_dynamodb_table.autoscaled_gsi_ignore[0].arn, "")

0 commit comments

Comments
 (0)