class Kitchen::Terraform::VerifyVersionRescueStrategy::Strict
Strict
is the class of objects which provide a strict strategy rescue strategy to handle a failure to verify the Terraform
client version.
Attributes
message[RW]
Public Class Methods
new()
click to toggle source
initialize prepares a new instance of the class.
@return [Kitchen::Terraform::VerifyVersionRescueStrategy::Permissive]
# File lib/kitchen/terraform/verify_version_rescue_strategy/strict.rb, line 36 def initialize self.message = "Verifying the Terraform client version failed. Set `driver.verify_version: false` to " \ "downgrade this error to a warning." end
Public Instance Methods
call()
click to toggle source
call
raises an error.
@raise [Kitchen::Terraform::UnsupportedClientVersionError] @return [void]
# File lib/kitchen/terraform/verify_version_rescue_strategy/strict.rb, line 29 def call raise ::Kitchen::Terraform::UnsupportedClientVersionError, message end