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] + } + ] } }