Module: RubyTerraform::ClassMethods
- Included in:
- RubyTerraform
- Defined in:
- lib/ruby_terraform.rb
Instance Method Summary collapse
- #apply(opts = {}) ⇒ Object
- #clean(opts = {}) ⇒ Object
- #destroy(opts = {}) ⇒ Object
- #get(opts = {}) ⇒ Object
- #output(opts = {}) ⇒ Object
- #remote_config(opts = {}) ⇒ Object
Instance Method Details
#apply(opts = {}) ⇒ Object
27 28 29 |
# File 'lib/ruby_terraform.rb', line 27 def apply(opts = {}) Commands::Apply.new.execute(opts) end |
#clean(opts = {}) ⇒ Object
19 20 21 |
# File 'lib/ruby_terraform.rb', line 19 def clean(opts = {}) Commands::Clean.new.execute(opts) end |
#destroy(opts = {}) ⇒ Object
31 32 33 |
# File 'lib/ruby_terraform.rb', line 31 def destroy(opts = {}) Commands::Destroy.new.execute(opts) end |
#get(opts = {}) ⇒ Object
23 24 25 |
# File 'lib/ruby_terraform.rb', line 23 def get(opts = {}) Commands::Get.new.execute(opts) end |
#output(opts = {}) ⇒ Object
39 40 41 |
# File 'lib/ruby_terraform.rb', line 39 def output(opts = {}) Commands::Output.new.execute(opts) end |
#remote_config(opts = {}) ⇒ Object
35 36 37 |
# File 'lib/ruby_terraform.rb', line 35 def remote_config(opts = {}) Commands::RemoteConfig.new.execute(opts) end |