Skip to content

Conversation

@yiyuan-he
Copy link
Contributor

Description of changes:

Quick change updating the Lambda CFN Primary Id to be its function name instead of its function arn.

Note: The current logic defaults to assigning cloudformation_primary_identifier = remote_resource_identifier if it remains None after the branching logic (line 469).

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html

Test Plan:

Verified update in generated span attributes.

Screenshot 2024-10-02 at 3 59 15 PM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yiyuan-he yiyuan-he requested a review from a team as a code owner October 2, 2024 23:10
@yiyuan-he yiyuan-he merged commit abca88c into aws-observability:main Oct 7, 2024
12 checks passed
@yiyuan-he yiyuan-he deleted the update-lambda-cfn-id branch October 7, 2024 18:18
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.

2 participants