We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab26f2 commit 0167fc7Copy full SHA for 0167fc7
aws/cloudtrail/main.tf
@@ -226,7 +226,7 @@ resource "sumologic_collector" "collector" {
226
227
# Create the source based on a flag.
228
resource "sumologic_cloudtrail_source" "terraform_cloudtrail_source" {
229
- depends_on = [aws_cloudtrail.aws_s3_cloudtrail]
+ depends_on = [aws_cloudtrail.aws_s3_cloudtrail, aws_iam_role_policy_attachment.sumologic_logs_policy_attach]
230
name = var.sumo_source_name
231
description = "Sumo Logic Source for CloudTrail"
232
category = var.sumo_source_category
0 commit comments