Skip to content

Commit 501f39c

Browse files
authored
docs: Fix incorrect condition key in SQS example (#52)
1 parent 69e1f91 commit 501f39c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

examples/complete/main.tf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,13 @@ module "sqs" {
220220
}
221221
]
222222

223-
condition = {
224-
test = "ArnEquals"
225-
variable = "aws:SourceArn"
226-
values = [module.complete_sns.topic_arn]
227-
}
223+
conditions = [
224+
{
225+
test = "ArnEquals"
226+
variable = "aws:SourceArn"
227+
values = [module.complete_sns.topic_arn]
228+
}
229+
]
228230
}
229231
}
230232

0 commit comments

Comments
 (0)