Skip to content

Commit 3d47065

Browse files
raybothaBenbentwo
andauthored
fix dd-forwarder: datadog service config depends on lambda arn config (cloudposse/terraform-aws-components#531)
Co-authored-by: Benjamin Smith <[email protected]>
1 parent 7d4afd7 commit 3d47065

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,6 @@ resource "datadog_integration_aws_log_collection" "main" {
110110
count = var.lambda_arn_enabled ? 1 : 0
111111
account_id = module.datadog-integration.outputs.aws_account_id
112112
services = var.log_collection_services
113+
114+
depends_on = [module.datadog_lambda_forwarder]
113115
}

0 commit comments

Comments
 (0)