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

Support for lambda logs with JSON-structured format #3017

Closed
albertocorrales opened this issue Nov 17, 2023 · 3 comments
Closed

Support for lambda logs with JSON-structured format #3017

albertocorrales opened this issue Nov 17, 2023 · 3 comments
Assignees
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/enhancement Improvements or new features resolution/fixed This issue was fixed

Comments

@albertocorrales
Copy link

albertocorrales commented Nov 17, 2023

Issue details

AWS has recently introduced Lambdas with Logs with JSON structured format https://aws.amazon.com/blogs/compute/introducing-advanced-logging-controls-for-aws-lambda-functions/

This is how we can configure it with CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html#cfn-lambda-function-loggingconfig-logformat

This would be a great addition, because JSON structured logs are really useful, as we can use them in queries, data aggregation, etc.

@albertocorrales albertocorrales added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Nov 17, 2023
@mikhailshilkov
Copy link
Member

Tracked upstream in hashicorp/terraform-provider-aws#34455, we'll ship it as soon as the upstream is ready

@mikhailshilkov mikhailshilkov added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). and removed needs-triage Needs attention from the triage team labels Nov 17, 2023
@leungleoqin
Copy link

Tracked upstream in hashicorp/terraform-provider-aws#34455, we'll ship it as soon as the upstream is ready

Bumping this as it has been released in Terraform AWS provider v5.32.0. Thanks @mikhailshilkov!

@iwahbe iwahbe self-assigned this Feb 15, 2024
@iwahbe iwahbe added the resolution/fixed This issue was fixed label Feb 15, 2024
@iwahbe
Copy link
Member

iwahbe commented Feb 15, 2024

Thanks for bumping this @leungleoqin. This feature is present in the currently released provider, so I'm closing:

https://github.com/pulumi/pulumi-aws/blob/32a25bf835192640fadeba71ddf264123e9473fa/provider/cmd/pulumi-resource-aws/schema.json#L263173-L263176

@iwahbe iwahbe closed this as completed Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
Development

No branches or pull requests

4 participants