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

Bug in https://github.com/coralogix/terraform-coralogix-aws/blob/master/modules/s3/main.tf #55

Closed
billhammond-dev opened this issue Jul 21, 2023 · 1 comment
Assignees

Comments

@billhammond-dev
Copy link

The logger library assumes that the env var coralogix_url is capitalized, i.e. CORALOGIX_URL in the env config of the lambda function.
I can only get this module's lambda to work if I capitalize the env var so the logger picks up the correct url endpoint

in coralogix-logger/dist/constants.js:

Constants.CORALOGIX_LOG_URL = process.env.CORALOGIX_URL || Constants.PROD_URL;

Hence the env var for the function needs to be CORALOGIX_URL
Please change line 65 in main.tf to match. Thanks.

@guyrenny
Copy link
Contributor

Update coralogix_url to be CORALOGIX_URL in this PR - (#57)

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