Sha256: 48322f3dab8fe611a607f844a48f519d8565ef51613b51d7b92564be749b237a
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
module RakeTerraform module Tasks class All < TaskLib parameter :configuration_name, :required => true parameter :configuration_directory, :required => true parameter :backend parameter :backend_config parameter :vars parameter :state_file parameter :no_color, :default => false parameter :no_backup, :default => false parameter :backup_file parameter :ensure_task, :default => :'terraform:ensure' parameter :provision_task_name, :default => :provision parameter :destroy_task_name, :default => :destroy def define Provision.new do |t| t.name = provision_task_name t.configuration_name = configuration_name t.configuration_directory = configuration_directory t.backend = backend t.backend_config = backend_config t.vars = vars t.state_file = state_file t.no_color = no_color t.no_backup = no_backup t.backup_file = backup_file t.ensure_task = ensure_task end Destroy.new do |t| t.name = destroy_task_name t.configuration_name = configuration_name t.configuration_directory = configuration_directory t.backend = backend t.backend_config = backend_config t.vars = vars t.state_file = state_file t.no_color = no_color t.no_backup = no_backup t.backup_file = backup_file t.ensure_task = ensure_task end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rake_terraform-0.5.0 | lib/rake_terraform/tasks/all.rb |