DataDog / datadog-serverless-functions

Repo of AWS Lambda and Azure Functions functions that process streams and send data to Datadog
Apache License 2.0
337 stars 386 forks source link

Create Terraform module to support the deployment Datadog's Log Forwarder #723

Open jperez3 opened 10 months ago

jperez3 commented 10 months ago

Describe what happened:

Similar to previously opened issues, I'm having trouble deleting a log forwarder created s3 bucket because it's not empty. The problem seems to be around how the Terraform deployment process is just kicking off a cloudformation stack. I believe Terraform should be treated as a first class citizen, especially given the rise of HCL https://x.com/armon/status/1722982323983880589?s=20

Describe what you expected:

I would like to see a terraform module which cleanly deploys and destroys the datadog log forwarder infrastructure

Steps to reproduce the issue:

Deploy a datadog log forwarder via terraform (as described here) and run terraform destroy

splisson-cn commented 10 months ago

+1

mikecouk commented 5 months ago

We're also suffering from this problem. Cloudformation Stack in terraform seems lazy, and is actually very slow to deploy. Would be great if it was just Terraform.

gavreid commented 2 months ago

+1