We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808db0f commit fd40fdfCopy full SHA for fd40fdf
main.tf
@@ -15,7 +15,7 @@ module "lambda_version" {
15
16
repo_name = local.repo_name
17
repo_owner = local.repo_owner
18
- version_constraint = "~1.0.1-rc6"
+ version_constraint = var.lambda_version_constraint
19
}
20
21
locals {
variables.tf
@@ -10,6 +10,12 @@ locals {
10
repo_name = "terraform-aws-asg-rolling-restart-lambda"
11
12
13
+variable "lambda_version_constraint" {
14
+ default = "~1.0.1-rc7"
+ description = "NPM style version constraint to apply when looking for the correct version of the lambda code"
+ type = string
+}
+
variable "loglevel" {
type = string
default = "INFO"
0 commit comments