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

✨ add runtime field to AWS lambda function resources #1754

Merged
merged 1 commit into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions resources/packs/aws/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,8 @@ private aws.lambda.function @defaults("arn") {
arn string
// Name of the function
name string
// Runtime environment for the function
runtime string
// Concurrency limit for the function
concurrency() int
// Target ARN of the DeadLetterQueue config
Expand Down
30 changes: 30 additions & 0 deletions resources/packs/aws/aws.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions resources/packs/aws/aws_lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func (l *mqlAwsLambda) getFunctions(provider *aws_provider.Provider) []*jobpool.
mqlFunc, err := l.MotorRuntime.CreateResource("aws.lambda.function",
"arn", core.ToString(function.FunctionArn),
"name", core.ToString(function.FunctionName),
"runtime", string(function.Runtime),
"dlqTargetArn", dlqTarget,
"vpcConfig", vpcConfigJson,
"region", regionVal,
Expand Down
2 changes: 1 addition & 1 deletion resources/packs/aws/info/aws.lr.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions resources/resources.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions resources/service/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.