lib/rspec/terraform/helpers/var.rb in rspec-terraform-0.1.0.pre.45 vs lib/rspec/terraform/helpers/var.rb in rspec-terraform-0.1.0.pre.46
- old
+ new
@@ -6,11 +6,10 @@
module RSpec
module Terraform
module Helpers
class Var < Base
def execute(overrides = {}, &block)
- parameters = with_configuration_provider_parameters(overrides)
- parameters = with_resolved_vars(parameters, &block)
+ parameters = resolve_parameters(overrides, &block)
parameters[:vars][parameters[:name].to_sym]
end
end
end