-
Notifications
You must be signed in to change notification settings - Fork 19
Feat/update config #430
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
Merged
Merged
Feat/update config #430
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1b8681d
feat: update Python cdk-deploy
jeastham1993 738752e
Merge branch 'main' of github.com:DataDog/serverless-sample-app
jeastham1993 8c7e540
Merge branch 'main' of github.com:DataDog/serverless-sample-app
jeastham1993 07f7b7d
Merge branch 'main' of github.com:DataDog/serverless-sample-app
jeastham1993 c5a9a32
fix: resolve function param mismatch
jeastham1993 ac36e9e
Merge branch 'main' of github.com:DataDog/serverless-sample-app
jeastham1993 7462120
feat:remove service name rename config
jeastham1993 a30e351
feat: bump extension version
jeastham1993 6826883
Update src/order-mcp/lib/order-mcp/orderMcpStack.ts
jeastham1993 0c2d1c4
Update src/loyalty-point-service/lib/loyalty-api/loyaltyApiStack.ts
jeastham1993 5f3b8b8
Update src/activity-service/infra/modules/python-lambda-function/main.tf
jeastham1993 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,18 +86,18 @@ module "aws_lambda_function" { | |
| version = "2.0.0" | ||
|
|
||
| filename = var.zip_file | ||
| function_name = "tf-node-${var.function_name}-${var.env}" | ||
| function_name = "tf-python-${var.function_name}-${var.env}" | ||
| role = aws_iam_role.lambda_function_role.arn | ||
| handler = var.lambda_handler | ||
| runtime = "nodejs22.x" | ||
| runtime = "python3.13" | ||
|
||
| memory_size = var.memory_size | ||
| logging_config_log_group = aws_cloudwatch_log_group.lambda_log_group.name | ||
| source_code_hash = filebase64sha256(var.zip_file) | ||
| timeout = var.function_timeout | ||
|
|
||
| environment_variables = merge(tomap({ | ||
| "TEAM": "loyalty" | ||
| "DOMAIN": "loyalty" | ||
| "TEAM": "activity" | ||
| "DOMAIN": "activity" | ||
| "DD_API_KEY_SECRET_ARN" : var.dd_api_key_secret_arn | ||
| "DD_EXTENSION_VERSION" : "next" | ||
| "DD_CAPTURE_LAMBDA_PAYLOAD" : "true" | ||
|
|
@@ -108,14 +108,13 @@ module "aws_lambda_function" { | |
| "DD_VERSION" : var.app_version | ||
| "BUILD_ID" : var.app_version | ||
| "DD_DATA_STREAMS_ENABLED" = "true" | ||
| "DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED" = "true" | ||
| "DEPLOYED_AT" : timestamp() | ||
| "ENV" : var.env | ||
| "POWERTOOLS_SERVICE_NAME" : var.service_name | ||
| "POWERTOOLS_LOG_LEVEL" : "INFO" }), | ||
| var.environment_variables | ||
| ) | ||
|
|
||
| datadog_extension_layer_version = 83 | ||
| datadog_node_layer_version = 125 | ||
| datadog_extension_layer_version = 85 | ||
| datadog_python_layer_version = 113 | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function name prefix and runtime are being changed from Node.js to Python in what appears to be a generic lambda function module. This could break existing infrastructure or indicate the wrong module is being modified.