Skip to content

Commit

Permalink
add tf_module_version
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 7, 2022
1 parent b8f9f92 commit f951712
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@

* 0.0.17 -- 2022-02-07
- update code: 0.0.7

* 0.0.18 -- 2022-02-07
- update code: 0.0.8
- add tf_module_version variable
5 changes: 4 additions & 1 deletion lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ resource "aws_lambda_function" "lambda" {
# version = "$LATEST"

environment {
variables = local.lambda_environment_variables
variables = merge(
local.lambda_environment_variables,
tomap({ "tf_module_version" = local._module_version }),
)
}
timeouts {}
tracing_config {
Expand Down
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "0.0.17"
_module_version = "0.0.18"
}

0 comments on commit f951712

Please sign in to comment.