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
- #format(opts = {}) ⇒ Object
- #get(opts = {}) ⇒ Object
- #import(opts = {}) ⇒ Object
- #init(opts = {}) ⇒ Object
- #output(opts = {}) ⇒ Object
- #plan(opts = {}) ⇒ Object
- #refresh(opts = {}) ⇒ Object
- #remote_config(opts = {}) ⇒ Object
- #show(opts = {}) ⇒ Object
- #validate(opts = {}) ⇒ Object
- #workspace(opts = {}) ⇒ Object
Instance Method Details
#apply(opts = {}) ⇒ Object
44 45 46 |
# File 'lib/ruby_terraform.rb', line 44 def apply(opts = {}) Commands::Apply.new.execute(opts) end |
#clean(opts = {}) ⇒ Object
24 25 26 |
# File 'lib/ruby_terraform.rb', line 24 def clean(opts = {}) Commands::Clean.new.execute(opts) end |
#destroy(opts = {}) ⇒ Object
48 49 50 |
# File 'lib/ruby_terraform.rb', line 48 def destroy(opts = {}) Commands::Destroy.new.execute(opts) end |
#format(opts = {}) ⇒ Object
76 77 78 |
# File 'lib/ruby_terraform.rb', line 76 def format(opts = {}) Commands::Format.new.execute(opts) end |
#get(opts = {}) ⇒ Object
32 33 34 |
# File 'lib/ruby_terraform.rb', line 32 def get(opts = {}) Commands::Get.new.execute(opts) end |
#import(opts = {}) ⇒ Object
72 73 74 |
# File 'lib/ruby_terraform.rb', line 72 def import(opts = {}) Commands::Import.new.execute(opts) end |
#init(opts = {}) ⇒ Object
28 29 30 |
# File 'lib/ruby_terraform.rb', line 28 def init(opts = {}) Commands::Init.new.execute(opts) end |
#output(opts = {}) ⇒ Object
60 61 62 |
# File 'lib/ruby_terraform.rb', line 60 def output(opts = {}) Commands::Output.new.execute(opts) end |
#plan(opts = {}) ⇒ Object
40 41 42 |
# File 'lib/ruby_terraform.rb', line 40 def plan(opts = {}) Commands::Plan.new.execute(opts) end |
#refresh(opts = {}) ⇒ Object
56 57 58 |
# File 'lib/ruby_terraform.rb', line 56 def refresh(opts = {}) Commands::Refresh.new.execute(opts) end |
#remote_config(opts = {}) ⇒ Object
52 53 54 |
# File 'lib/ruby_terraform.rb', line 52 def remote_config(opts = {}) Commands::RemoteConfig.new.execute(opts) end |
#show(opts = {}) ⇒ Object
64 65 66 |
# File 'lib/ruby_terraform.rb', line 64 def show(opts = {}) Commands::Show.new.execute(opts) end |
#validate(opts = {}) ⇒ Object
36 37 38 |
# File 'lib/ruby_terraform.rb', line 36 def validate(opts = {}) Commands::Validate.new.execute(opts) end |
#workspace(opts = {}) ⇒ Object
68 69 70 |
# File 'lib/ruby_terraform.rb', line 68 def workspace(opts = {}) Commands::Workspace.new.execute(opts) end |