Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFormation Stack and Terraform Deployment Issues: Empty index.py File #788

Open
elliotcbeattie opened this issue May 16, 2024 · 1 comment

Comments

@elliotcbeattie
Copy link

Description:

Hello,

I am encountering an issue with the datadog-serverless-functions repository when deploying using Terraform or the provided CloudFormation stack. After deployment, the only file included in the function is index.py, and this file is empty. As a result, the function does not work as expected.

Steps to Reproduce:

  1. Deploy using the provided CloudFormation stack or Terraform configuration.
  2. After deployment, check the Lambda function in AWS.

Expected Behavior:

The Lambda function should be deployed with the complete set of necessary files and code.

Actual Behavior:

Only an index.py file is present, and it is empty.

Environment:

  • Terraform Version: 1.4.5
  • AWS Region: us-east-1
  • CloudFormation Template: Default template provided in the repository without modifications.

Additional Context:

  • I have followed the deployment instructions as provided in the repository.
  • No errors were encountered during the deployment process.
  • The issue seems consistent across multiple deployments.
@sudhakartag1
Copy link

@elliotcbeattie I believe this is expected . From https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring:
"Note: The Datadog Lambda Forwarder function code block is expected to be empty, as the logic is implemented through a Lambda layer."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants