lib/builderator/util.rb in builderator-1.2.2 vs lib/builderator/util.rb in builderator-1.2.3.pre.beta.1

- old
+ new

@@ -69,9 +69,13 @@ else Aws::EC2::Client.new options.merge(credentials) end end + def ecr(region = Config.aws.region) + clients["ecr-#{region}"] ||= Aws::ECR::Client.new(:region => region) + end + def asg(region = Config.aws.region) clients["asg-#{region}"] ||= Aws::AutoScaling::Client.new(:region => region) end private