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

[AWSX] Update send-aws-services-logs-with-the-datadog-lambda-function.md #27046

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ge0Aja
Copy link

@ge0Aja ge0Aja commented Jan 9, 2025

What does this PR do? What is the motivation?

Merge instructions

Merge readiness:

  • Ready for merge

Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the <yourname>/description naming convention) and then add the following PR comment:

/merge

Additional notes

@ge0Aja ge0Aja requested a review from a team as a code owner January 9, 2025 16:32
@github-actions github-actions bot added the Guide Content impacting a guide label Jan 9, 2025
Copy link
Contributor

github-actions bot commented Jan 9, 2025

Preview links (active after the build_preview check completes)

Modified Files

@buraizu buraizu self-assigned this Jan 9, 2025
resource "aws_lambda_permission" "lambda_permission" {
action = "lambda:InvokeFunction"
function_name = "datadog-forwarder" # this is the default but may be different in your case
principal = "logs.amazonaws.com" # or logs.amazonaws.com.cn for china
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
principal = "logs.amazonaws.com" # or logs.amazonaws.com.cn for china
principal = "logs.amazonaws.com" # or logs.amazonaws.com.cn for China*

Copy link
Contributor

Choose a reason for hiding this comment

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

In addition to the edit above, we should include the following disclaimer when mentioning the use of the AWS China regions:

*All use of Datadog Services in (or in connection with environments within) mainland China is subject to the disclaimer published in the [Restricted Service Locations](https://www.datadoghq.com/legal/restricted-service-locations/) section on our website.

Example here. It looks like putting the disclaimer after the code block, but before the end of the tab would be a good location for it. I'm not able to add a suggestion there though. Let me know if you have any questions.

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

Successfully merging this pull request may close these issues.

3 participants