lib/elasticity/job_flow.rb in elasticity-4.0.5 vs lib/elasticity/job_flow.rb in elasticity-5.0
- old
+ new
@@ -21,11 +21,10 @@
attr_accessor :placement
attr_accessor :region
attr_accessor :visible_to_all_users
attr_accessor :enable_debugging
attr_accessor :job_flow_role
- attr_accessor :service_role
attr_reader :access_key
attr_reader :secret_key
def initialize(access=nil, secret=nil)
@@ -186,10 +185,9 @@
steps = jobflow_steps
steps.insert(0, Elasticity::SetupHadoopDebuggingStep.new.to_aws_step(self)) if @enable_debugging
config[:steps] = steps
config[:log_uri] = @log_uri if @log_uri
config[:job_flow_role] = @job_flow_role if @job_flow_role
- config[:service_role] = @service_role if @service_role
config[:bootstrap_actions] = @bootstrap_actions.map{|a| a.to_aws_bootstrap_action} unless @bootstrap_actions.empty?
config
end
def jobflow_preamble