Module: Ufo::AwsServices
- Included in:
- Destroy, EcrAuth, EcrCleaner, Scale, Ship, TasksRegister
- Defined in:
- lib/ufo/aws_services.rb
Instance Method Summary collapse
Instance Method Details
#ecr ⇒ Object
13 14 15 |
# File 'lib/ufo/aws_services.rb', line 13 def ecr @ecr ||= Aws::ECR::Client.new(region: region) end |
#ecs ⇒ Object
5 6 7 |
# File 'lib/ufo/aws_services.rb', line 5 def ecs @ecs ||= Aws::ECS::Client.new(region: region) end |
#elb ⇒ Object
9 10 11 |
# File 'lib/ufo/aws_services.rb', line 9 def elb @elb ||= Aws::ElasticLoadBalancingV2::Client.new(region: region) end |
#region ⇒ Object
17 18 19 |
# File 'lib/ufo/aws_services.rb', line 17 def region ENV['REGION'] || 'us-east-1' end |