Module: Kitchen::Terraform::ConfigAttribute::Parallelism Abstract
- Extended by:
- Kitchen::Terraform::ConfigAttributeCacher
- Included in:
- Driver::Terraform
- Defined in:
- lib/kitchen/terraform/config_attribute/parallelism.rb
Overview
This module is abstract.
It must be included by a plugin class in order to be used.
The :parallelism
configuration attribute is an optional integer which represents the maximum number of concurrent operations to allow while walking the resource graph for the Terraform Client apply command.
Class Method Summary collapse
-
.included(plugin_class) ⇒ void
A callback to define the configuration attribute which is invoked when this module is included in a plugin class.
-
.to_sym ⇒ ::Symbol
The symbol corresponding to the attribute.
Instance Method Summary collapse
-
#config_parallelism_default_value ⇒ ::Integer
A maximum of 10 concurrent operations.
Methods included from Kitchen::Terraform::ConfigAttributeCacher
Class Method Details
.included(plugin_class) ⇒ void
This method returns an undefined value.
A callback to define the configuration attribute which is invoked when this module is included in a plugin class.
33 34 35 36 37 38 39 40 |
# File 'lib/kitchen/terraform/config_attribute/parallelism.rb', line 33 def self.included(plugin_class) ::Kitchen::Terraform::ConfigAttributeDefiner .new( attribute: self, schema: ::Kitchen::Terraform::ConfigSchemas::Integer ) .define plugin_class: plugin_class end |
.to_sym ⇒ ::Symbol
Returns the symbol corresponding to the attribute.
43 44 45 |
# File 'lib/kitchen/terraform/config_attribute/parallelism.rb', line 43 def self.to_sym :parallelism end |
Instance Method Details
#config_parallelism_default_value ⇒ ::Integer
Returns a maximum of 10 concurrent operations.
50 51 52 |
# File 'lib/kitchen/terraform/config_attribute/parallelism.rb', line 50 def config_parallelism_default_value 10 end |