Skip to content

Commit

Permalink
Set concrete types for the inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Jun 6, 2019
1 parent 4130524 commit 1cfcc1e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/pex/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
variable "echo_string" {
description = "This string will be echo'd back from the pex data source."
type = string
default = "Hello world!"
}
3 changes: 3 additions & 0 deletions examples/require-executable/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ variable "required_executables" {

variable "error_message" {
description = "Error message to show if the required executable is not found. This is printed for each executable that was not found. The module will make the following substitutions in the string: `__EXECUTABLE_NAME__` will become the name of the executable that was not found."
type = string
}

variable "validate_bad_executable" {
description = "Whether or not to validate the existence of a bad executable."
type = bool
default = false
}

variable "bad_executable_error_message" {
description = "Error message to show for bad_executable check."
type = string
default = ""
}
1 change: 1 addition & 0 deletions modules/require-executable/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ variable "required_executables" {

variable "error_message" {
description = "Error message to show if the required executable is not found. This is printed for each executable that was not found. The module will make the following substitutions in the string: `__EXECUTABLE_NAME__` will become the name of the executable that was not found."
type = string
default = "Not found: __EXECUTABLE_NAME__"
}
2 changes: 2 additions & 0 deletions modules/run-pex-as-data-source/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ variable "pex_module_path_parts" {

variable "script_main_function" {
description = "Main function of the script, encoded as SCRIPT_MODULE:FUNCTION. So for example, if the main function of the script is in a file named `entrypoint.py` which houses the function `main`, then this should be `entrypoint:main`."
type = string
}

variable "command_args" {
description = "The arguments to pass to the command as a string"
type = string
default = ""
}

Expand Down
2 changes: 2 additions & 0 deletions modules/run-pex-as-resource/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ variable "pex_module_path_parts" {

variable "script_main_function" {
description = "Main function of the script, encoded as SCRIPT_MODULE:FUNCTION. So for example, if the main function of the script is in a file named `entrypoint.py` which houses the function `main`, then this should be `entrypoint:main`."
type = string
}

variable "command_args" {
description = "The arguments to pass to the command as a string"
type = string
default = ""
}

0 comments on commit 1cfcc1e

Please sign in to comment.