miasma-aws 0.3.16 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/miasma/contrib/aws.rb +4 -6
- data/lib/miasma-aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80283cd6d47264eb9b6eaaf85f7b426ca1beb2e25d7edd00d7406f2dc9deb63e
|
4
|
+
data.tar.gz: 0e8eef5ffc42b88daa751e0cf52ecd79122b94fe3c58dc4515957d06f09b9fd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73a7cf2d4cf0b2f950be4c198d2c927396b3db36334cdd1fe66a77dea9f57f82e73a6b3110154481397665432d92287a2af033440dd94b38f7fee1a2d33d49d7
|
7
|
+
data.tar.gz: 64d746a64035c4c95400fd5cb88dc9747c8e6780ca4c217c4fa27acd1d27270b638e0d23b82b8209c0dde7232bc2eeedf97ea5fb5ddaedc352a331f442597a51
|
data/CHANGELOG.md
CHANGED
data/lib/miasma/contrib/aws.rb
CHANGED
@@ -346,7 +346,7 @@ module Miasma
|
|
346
346
|
attribute :aws_sts_role_session_name, String
|
347
347
|
attribute :aws_sts_region, String
|
348
348
|
attribute :aws_sts_host, String
|
349
|
-
attribute :aws_sts_session_token, String
|
349
|
+
attribute :aws_sts_session_token, String
|
350
350
|
attribute :aws_sts_session_token_code, [String, Proc, Method]
|
351
351
|
attribute :aws_sts_mfa_serial_number, [String]
|
352
352
|
attribute :aws_credentials_file, String,
|
@@ -444,17 +444,15 @@ module Miasma
|
|
444
444
|
new_creds
|
445
445
|
)
|
446
446
|
new_creds = new_creds.merge(new_config_creds)
|
447
|
-
|
448
|
-
if creds[key] && new_creds[key].nil?
|
449
|
-
new_creds[key] = creds[key]
|
450
|
-
end
|
451
|
-
end
|
447
|
+
# Update original data source
|
452
448
|
creds.replace(new_creds)
|
453
449
|
if creds[:aws_iam_instance_profile]
|
454
450
|
self.class.const_get(:ECS_TASK_PROFILE_PATH).nil? ?
|
455
451
|
load_instance_credentials!(creds) :
|
456
452
|
load_ecs_credentials!(creds)
|
457
453
|
end
|
454
|
+
# Set underlying attributes
|
455
|
+
data.replace(creds)
|
458
456
|
true
|
459
457
|
end
|
460
458
|
|
data/lib/miasma-aws/version.rb
CHANGED
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.
|
4
|
+
version: 0.3.18
|
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-
|
11
|
+
date: 2018-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: miasma
|