infopark-aws_utils 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '078a203a9cd8bfd2dacafae006a0f6213516b453'
4
- data.tar.gz: 54cd52b74fb99e9300bde91bcb8b5fc5c45f3cce
3
+ metadata.gz: fd62159a173f03f500066e9abfdaa4c07ab91437
4
+ data.tar.gz: 07053c3acbeeaa985256b30dbb8d8299922c0c9a
5
5
  SHA512:
6
- metadata.gz: 2fe7638fd74cd1f20e0bf87f9ecc459f169fd4897b435cb84d3b9c68f6920b4c1d45766ea9f923fe8b3d86e1267349ab419c27cf3d046917c7e79eeff1a494aa
7
- data.tar.gz: 5a9571e4cf734b3a7ebd95df8a84abe0ab344d606fb8f65a40afdf1afa624bd6cb8066784590e0c10ea34535b47e082ea89aa5ab098394f03edc3f79e9e949d7
6
+ metadata.gz: 4650e70e0480fa700d93cd1fab9393fd67cfa1fe76725a21dc69167260f82507bd1cbd0bd1121dc7e19e90408ab192453beb212e7a98b29e73774dc2a1d5f6bf
7
+ data.tar.gz: 9c409dd94f8874f69fc176876bfe30b20a0a32bf4897940c4018e434a2379a5a6e1cde4e91ed05987b6d66f249e6c010044012da3407d9758eb7447c1f3134ff
@@ -27,7 +27,10 @@ class Env
27
27
  def initialize(profile_name = nil)
28
28
  @credentials = Aws::SharedCredentials.new(profile_name: profile_name)
29
29
  @clients = Hash.new do |clients, mod|
30
- clients[mod] = mod.const_get(:Client).new(credentials: @credentials, region: 'eu-west-1')
30
+ clients[mod] = mod.const_get(:Client).new(
31
+ credentials: @credentials,
32
+ region: Aws.shared_config.region(profile: profile_name),
33
+ )
31
34
  end
32
35
  end
33
36
 
@@ -1,5 +1,5 @@
1
1
  module Infopark
2
2
  module AwsUtils
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark-aws_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilo Prütz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-12 00:00:00.000000000 Z
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-applicationautoscaling