lib/ruby_terraform/commands/providers.rb in ruby-terraform-1.6.0.pre.4 vs lib/ruby_terraform/commands/providers.rb in ruby-terraform-1.6.0.pre.5
- old
+ new
@@ -22,9 +22,14 @@
# configuration (deprecated in terraform 0.14, removed in terraform 0.15,
# use +:chdir+ instead).
# * +:chdir+: the path of a working directory to switch to before executing
# the given subcommand.
#
+ # The {#execute} method accepts an optional second parameter which is a map
+ # of invocation options. Currently, the only supported option is
+ # +:environment+ which is a map of environment variables to expose during
+ # invocation of the command.
+ #
# @example Basic Invocation
# RubyTerraform::Commands::Providers.new.execute
#
class Providers < Base
include RubyTerraform::Options::Global