Skip to content

Commit 5d2debb

Browse files
committed
fix: lacework_cloudtrail depends on lacework_cloudtrail_sns_topic
1 parent 5e8082d commit 5d2debb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ resource "aws_cloudtrail" "lacework_cloudtrail" {
7979
}
8080
}
8181
}
82-
depends_on = [aws_s3_bucket.cloudtrail_bucket]
82+
depends_on = [
83+
aws_s3_bucket.cloudtrail_bucket,
84+
aws_sns_topic.lacework_cloudtrail_sns_topic
85+
]
8386
}
8487

8588
resource "aws_s3_bucket" "cloudtrail_bucket" {

0 commit comments

Comments
 (0)