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
Copy file name to clipboardExpand all lines: variables.tf
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,19 @@ variable "runtime" {
65
65
description="The identifier of the Lambda function [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html)."
66
66
}
67
67
68
+
variable"secret_environment_variables" {
69
+
type=map(string)
70
+
default={}
71
+
72
+
description=<<EOS
73
+
Map of environment variable names to ARNs of AWS Secret Manager secrets.
74
+
75
+
Each ARN will be passed as environment variable to the lambda function with the key's name extended by suffix _SECRET_ARN. When initializing the Lambda run time environment, the Lambda function or a [wrapper script](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-modify.html#runtime-wrapper) can look up the secret value.
76
+
77
+
Permission will be added allowing the Lambda function to read the secret values.
0 commit comments