miasma-aws 0.3.14 → 0.3.16

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
  SHA256:
3
- metadata.gz: d0662f315f3d9820571a2dd60fee0f737bd98aaef9594c1c957b93b3523dd7c3
4
- data.tar.gz: 2a16d55b282bb0deeba025bebdcd82d635fd4a2ef28e81977be9d07223cbc076
3
+ metadata.gz: 95515a5bf395615f1d2f89b7d049ba5a60f341517c5e59d0df7b6f7910704e5a
4
+ data.tar.gz: 5b724ae5ebb62fdca6438dee03097145886c825a5fbfdb9d7a6050890d555745
5
5
  SHA512:
6
- metadata.gz: 8238b361d641eb8618e1897586e653089021997c85c89f40ca4fe1c722f41e0acf64d92df414add3bf091e2f65a06bb56f3982db31f8b3ccde286df29a3ac6a0
7
- data.tar.gz: 2fd7f3cc11114d0c83fee457aeebb93085849f8976583cf4f9e1d081289363d006e976cc2dc4f84b5dd659541c3664ca16764ec6855f99e3ab9ad1d883820c63
6
+ metadata.gz: 8d836ceabbb5d77af1ad9fc3e8d03459c1cc929c9759ac046d60d5b73d7b48bf0d2efc4d4388db386feee908470d217f3492219c14515563cd3da4a5cf2456e3
7
+ data.tar.gz: f7dd8c4fcc5ad57a63ab7381054d7726be56ec9235328244188798d0836e0e309c3b1dda99be24768ec20ef4a0e7f476f15d78c59709ad7564dc1678aa17f70e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.3.16
2
+ * [fix] Fix configuration file merging with initial credentials
3
+
1
4
  # v0.3.14
2
5
  * [feature] Add orchestration stack planning support (#46)
3
6
 
@@ -444,8 +444,10 @@ module Miasma
444
444
  new_creds
445
445
  )
446
446
  new_creds = new_creds.merge(new_config_creds)
447
- new_creds.each_pair do |key, value|
448
- creds[key] = value if creds[key].nil?
447
+ creds.keys.each do |key|
448
+ if creds[key] && new_creds[key].nil?
449
+ new_creds[key] = creds[key]
450
+ end
449
451
  end
450
452
  creds.replace(new_creds)
451
453
  if creds[:aws_iam_instance_profile]
@@ -1,4 +1,4 @@
1
1
  module MiasmaAws
2
2
  # Current library version
3
- VERSION = Gem::Version.new("0.3.14")
3
+ VERSION = Gem::Version.new("0.3.16")
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-03 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: miasma