Skip to content

Commit

Permalink
Add module information to output
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 27, 2023
1 parent 38f53b9 commit 1d8eac6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
################################################################################
# Module information
################################################################################

output "module_name" {
description = "The name of this module."
value = local._module_name
}

output "module_version" {
description = "The version of this module."
value = local._module_version
}

4 changes: 4 additions & 0 deletions version.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
locals {
_module_name = "tfmod-istio"
_module_version = "unknown"
}

0 comments on commit 1d8eac6

Please sign in to comment.