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

detect serverless aws_lambda #490

Merged
merged 4 commits into from
Jul 21, 2023
Merged

detect serverless aws_lambda #490

merged 4 commits into from
Jul 21, 2023

Conversation

muppinesh
Copy link
Contributor

@muppinesh muppinesh commented Jul 13, 2023

@rudolfix Please let me know for any concerns

@netlify
Copy link

netlify bot commented Jul 13, 2023

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit b0b8d29
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/64ba7cb0f06039000868d92a
😎 Deploy Preview https://deploy-preview-490--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@muppinesh this looks good! thank you! would you also like to add the GCP lambda function detection. my fault was not to specified that in the ticket, now updated #474 (I was expecting to write it myself :)

@muppinesh
Copy link
Contributor Author

Hi @rudolfix , Sure, I will make changes for GCP as well and update you on the progress.

@muppinesh
Copy link
Contributor Author

@rudolfix , I have made changes for GCP as well. Please merge . Let me know for any concerns.

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@muppinesh please see review. thanks!

names.append("aws_lambda")
if is_gcp_cloud_function():
names.append("gcp_cloud_function")
return names
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix indentation, now the function returns any data only if on cloud function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rudolfix , indentation has been fixed. Please proceed.

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks!

@rudolfix rudolfix merged commit 320193e into dlt-hub:devel Jul 21, 2023
19 of 35 checks passed
@muppinesh
Copy link
Contributor Author

This was my first proper open source contribution. Thanks for the opportunity @rudolfix .

codingcyclist pushed a commit to codingcyclist/dlt that referenced this pull request Aug 23, 2023
* adding aws lambda env checks

* gcp_cloud_function

* indent_correction
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

Successfully merging this pull request may close these issues.

None yet

2 participants