module Kitchen::Terraform::ConfigAttribute::RootModuleDirectory
This attribute contains the path to the directory which contains the root Terraform
module to be tested.
- Type
- Required
-
False
- Default
-
The {en.wikipedia.org/wiki/Working_directory working directory} of the Test
Kitchen
process. - Example
-
root_module_directory: /path/to/terraform/root/module/directory
Public Class Methods
included(plugin_class)
click to toggle source
A callback to define the configuration attribute which is invoked when this module is included in a plugin class.
@param plugin_class [Kitchen::Configurable] A plugin class. @return [void]
# File lib/kitchen/terraform/config_attribute/root_module_directory.rb, line 38 def included(plugin_class) ::Kitchen::Terraform::FilePathConfigAttributeDefiner.new( attribute: self, schema: ::Kitchen::Terraform::ConfigAttributeContract::String.new, ).define plugin_class: plugin_class end
to_sym()
click to toggle source
@return [Symbol] the symbol corresponding to the attribute.
# File lib/kitchen/terraform/config_attribute/root_module_directory.rb, line 46 def to_sym :root_module_directory end
Public Instance Methods
config_root_module_directory_default_value()
click to toggle source
@return [String] the working directory of the Test Kitchen
process.
# File lib/kitchen/terraform/config_attribute/root_module_directory.rb, line 54 def config_root_module_directory_default_value "." end