Skip to content

Commit 85f73cb

Browse files
author
iru
committed
chore: test/remove dependency on sqs policy
depends_on will still trigger error (will run ok when you run apply for the second time).
1 parent 38a5c00 commit 85f73cb

File tree

1 file changed

+0
-3
lines changed
  • modules/infrastructure/cloudtrail-subscription-sqs

1 file changed

+0
-3
lines changed

modules/infrastructure/cloudtrail-subscription-sqs/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ resource "aws_sns_topic_subscription" "this" {
1212
resource "aws_sqs_queue_policy" "this" {
1313
queue_url = aws_sqs_queue.this.url
1414
policy = data.aws_iam_policy_document.this.json
15-
16-
# required to avoid error reading SQS Queue Policy; empty result
17-
depends_on = [aws_sqs_queue.this]
1815
}
1916

2017
data "aws_iam_policy_document" "this" {

0 commit comments

Comments
 (0)