lib/capistrano/asg/rolling/configuration.rb in capistrano-asg-rolling-0.1.0 vs lib/capistrano/asg/rolling/configuration.rb in capistrano-asg-rolling-0.2.0
- old
+ new
@@ -1,9 +1,7 @@
# frozen_string_literal: true
-require 'set'
-
module Capistrano
module ASG
module Rolling
# Singleton that holds the configuration.
module Configuration
@@ -21,18 +19,22 @@
@instances ||= Instances.new
end
# Updated Launch Templates.
def launch_templates
- @launch_templates ||= Set.new
+ @launch_templates ||= LaunchTemplates.new
end
def aws_access_key_id
fetch(:aws_access_key_id)
end
def aws_secret_access_key
fetch(:aws_secret_access_key)
+ end
+
+ def aws_session_token
+ fetch(:aws_session_token)
end
def aws_region
fetch(:aws_region)
end