miasma-aws 0.3.24 → 0.3.26
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-aws/version.rb +1 -1
- data/lib/miasma/contrib/aws.rb +1 -0
- data/lib/miasma/contrib/aws/orchestration.rb +7 -9
- 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: 98f6930cbfde30872e6c5f67b1d161dc1953fee5f7a1a1453abca4ccbd5b9591
|
4
|
+
data.tar.gz: 2e56c6cdb28d964e7e4a4cbdbb7f9e6cb3ea77da6cce513f9a42782845e97631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd68a3bb5f94165b613e01a63c92d976ff52f6526081743b4e9bbf2b83ac1ff188de92b9c08cedd1a94390557aaae8ce5e62c9ab26ede5c045ee7a34a2a09a3f
|
7
|
+
data.tar.gz: 3e8d663efff6dcba2d5a2f4deed92873c10099395013b8e8b44064e507c6fd37aec1c4bb07481913c55a74e49cbfbb7c7cc28ed2fb9230ba8ec6bc53b65283ea
|
data/CHANGELOG.md
CHANGED
data/lib/miasma-aws/version.rb
CHANGED
data/lib/miasma/contrib/aws.rb
CHANGED
@@ -359,6 +359,7 @@ module Miasma
|
|
359
359
|
module ApiCommon
|
360
360
|
def self.included(klass)
|
361
361
|
klass.class_eval do
|
362
|
+
include Bogo::Logger::Helpers
|
362
363
|
attribute :aws_profile_name, [FalseClass, String], :default => ENV.fetch("AWS_PROFILE", "default")
|
363
364
|
attribute :aws_sts_token, String
|
364
365
|
attribute :aws_sts_role_arn, String
|
@@ -5,7 +5,6 @@ module Miasma
|
|
5
5
|
class Orchestration
|
6
6
|
# AWS Orchestration API
|
7
7
|
class Aws < Orchestration
|
8
|
-
|
9
8
|
include Bogo::Logger::Helpers
|
10
9
|
logger_name("aws.orchestration")
|
11
10
|
|
@@ -62,14 +61,13 @@ module Miasma
|
|
62
61
|
def load_stack_data(stack = nil)
|
63
62
|
d_params = Smash.new("Action" => "DescribeStacks")
|
64
63
|
l_params = Smash.new("Action" => "ListStacks")
|
65
|
-
# TODO:
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
# end
|
64
|
+
# TODO: Need to update to allow passing in list of desired
|
65
|
+
# states for lookup or to remove state filtering. This
|
66
|
+
# used to work with earlier versions with sfn but something
|
67
|
+
# has changed breaking the integration.
|
68
|
+
STACK_STATES.each_with_index do |state, idx|
|
69
|
+
l_params["StackStatusFilter.member.#{idx + 1}"] = state.to_s.upcase
|
70
|
+
end
|
73
71
|
if stack
|
74
72
|
logger.debug("loading stack information for `#{stack.id}`")
|
75
73
|
d_params["StackName"] = stack.id
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: miasma
|