lib/kitchen/terraform/system.rb
# #verify verifies the system by executing InSpec.
#
# @param inputs [::Hash] the Terraform input variables to be utilized as InSpec profile attributes.
# @param inspec_options [::Hash] the options to be passed to InSpec.
# @param outputs [::Hash] the Terraform output variables to be utilized as InSpec profile attributes.
# @return [self]
verify verifies the system by executing InSpec.
verify verifies the system by executing InSpec .
def verify(inputs:, inspec_options:, outputs:)
        resolve inputs: inputs, outputs: outputs
        execute_inspec options: inspec_options
        self
      rescue => error
        raise ::Kitchen::Terraform::Error, "#{self}: #{error.message}"
      end
def verify ( inputs : , inspec_options : , outputs : ) resolve inputs : inputs , outputs : outputs execute_inspec options : inspec_options self rescue => error raise :: Kitchen :: Terraform :: Error , "#{self}: #{error.message}" end
verify verifies the system by executing InSpec.
verify verifies the system by executing InSpec .
None
self
inputs
the Terraform input variables to be utilized as InSpec profile attributes.
the Terraform input variables to be utilized as InSpec profile attributes .
inspec_options
the options to be passed to InSpec.
the options to be passed to InSpec .
outputs
the Terraform output variables to be utilized as InSpec profile attributes.
the Terraform output variables to be utilized as InSpec profile attributes .