From 501f39c4aaef20d366be9665fc2e928b7ff207c3 Mon Sep 17 00:00:00 2001 From: Ian Muscat Date: Thu, 7 Mar 2024 04:07:51 -0800 Subject: [PATCH] docs: Fix incorrect `condition` key in SQS example (#52) --- examples/complete/main.tf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/complete/main.tf b/examples/complete/main.tf index b024b2d..61b18a6 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -220,11 +220,13 @@ module "sqs" { } ] - condition = { - test = "ArnEquals" - variable = "aws:SourceArn" - values = [module.complete_sns.topic_arn] - } + conditions = [ + { + test = "ArnEquals" + variable = "aws:SourceArn" + values = [module.complete_sns.topic_arn] + } + ] } }