Class: Kitchen::Terraform::VerifyVersionRescueStrategy::Strict
- Inherits:
-
Object
- Object
- Kitchen::Terraform::VerifyVersionRescueStrategy::Strict
- Defined in:
- lib/kitchen/terraform/verify_version_rescue_strategy/strict.rb
Overview
Strict is the class of objects which provide a strict strategy rescue strategy to handle a failure to verify the Terraform client version.
Instance Method Summary collapse
-
#call ⇒ void
#call raises an error.
-
#initialize ⇒ Kitchen::Terraform::VerifyVersionRescueStrategy::Permissive
constructor
#initialize prepares a new instance of the class.
Constructor Details
#initialize ⇒ Kitchen::Terraform::VerifyVersionRescueStrategy::Permissive
#initialize prepares a new instance of the class.
36 37 38 39 |
# File 'lib/kitchen/terraform/verify_version_rescue_strategy/strict.rb', line 36 def initialize self. = "Verifying the Terraform client version failed. Set `driver.verify_version: false` to " \ "downgrade this error to a warning." end |
Instance Method Details
#call ⇒ void
This method returns an undefined value.
#call raises an error.
29 30 31 |
# File 'lib/kitchen/terraform/verify_version_rescue_strategy/strict.rb', line 29 def call raise ::Kitchen::Terraform::UnsupportedClientVersionError, end |