You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
fix: Add missing SG and subnet configuration for Job Retry lambda (#4114)
While the Security group IDs and Subnet IDs can be configured in the
Job-retry lambda, the `config` variable did not accept it. I rectify the
type definition in the variable. Additionally, I also updated the
description of the variable for accuracy.
Copy file name to clipboardExpand all lines: modules/runners/job-retry/variables.tf
+4-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ variable "config" {
5
5
`aws_partition`: Partition for the base arn if not 'aws'
6
6
`architecture`: AWS Lambda architecture. Lambda functions using Graviton processors ('arm64') tend to have better price/performance than 'x86_64' functions.
7
7
`environment_variables`: Environment variables for the lambda.
`enable_metric`: Enable metric for the lambda. If `spot_warning` is set to true, the lambda will emit a metric when it detects a spot termination warning.
9
10
'ghes_url': Optional GitHub Enterprise Server URL.
10
11
'github_app_parameters': Parameter Store for GitHub App Parameters.
@@ -15,7 +16,7 @@ variable "config" {
15
16
`logging_kms_key_id`: Specifies the kms key id to encrypt the logs with
16
17
`logging_retention_in_days`: Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.
17
18
`memory_size`: Memory size linit in MB of the lambda.
18
-
`metrics_config`: Configuraiton to enable metrics creation by the lambda.
19
+
`metrics`: Configuration to enable metrics creation by the lambda.
19
20
`prefix`: The prefix used for naming resources.
20
21
`role_path`: The path that will be added to the role, if not set the environment name will be used.
21
22
`role_permissions_boundary`: Permissions boundary that will be added to the created role for the lambda.
0 commit comments