aws-cfn-resources 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack.rb +1 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65cb0656413074ab60a897fb1975129df6826c77
|
|
4
|
+
data.tar.gz: fd46ada4560f748ebd7367f8f343e43cf935a86d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8c88737c750fa03154a7bc1c8ea188697d1cc21afab124d3079f126a5677d9e3cf3106efd843fc40cf5d58802e8565c948b364400691cddbf03b4405f6d1313
|
|
7
|
+
data.tar.gz: 8c694625a379263f530a2e7eb90484223801644e14ae132e1d2fb423e004805ec22ad985baf8fddb42c2a1680ecd5ceb0f3ceb6773eeff936ce0ac6b7245292b
|
data/lib/stack.rb
CHANGED
|
@@ -201,12 +201,10 @@ module AWS
|
|
|
201
201
|
get_resources "AWS::AutoScaling::ScalingPolicy"
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
#v1
|
|
205
204
|
def security_group(logical_id)
|
|
206
205
|
AWS::EC2.new.security_groups.filter('group-id',security_group_ids[logical_id.to_sym]).first
|
|
207
206
|
end
|
|
208
|
-
|
|
209
|
-
#v1
|
|
207
|
+
|
|
210
208
|
def security_groups
|
|
211
209
|
security_group_ids.inject({}) { |hash, (k,v)| hash[k] = security_group(k); hash }
|
|
212
210
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-cfn-resources
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shayne Clausson
|
|
@@ -52,8 +52,8 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '1.64'
|
|
55
|
-
description:
|
|
56
|
-
|
|
55
|
+
description: Mixes methods into AWS::CloudFormation::Stack to make it easy to retrieve
|
|
56
|
+
resource objects created during stack creation.
|
|
57
57
|
email: sclausson@hotmail.com
|
|
58
58
|
executables: []
|
|
59
59
|
extensions: []
|
|
@@ -61,7 +61,7 @@ extra_rdoc_files: []
|
|
|
61
61
|
files:
|
|
62
62
|
- lib/aws-cfn-resources.rb
|
|
63
63
|
- lib/stack.rb
|
|
64
|
-
homepage: http://
|
|
64
|
+
homepage: http://github.com/sclausson/aws-cfn-resources
|
|
65
65
|
licenses:
|
|
66
66
|
- MIT
|
|
67
67
|
metadata: {}
|
|
@@ -85,5 +85,5 @@ rubyforge_project:
|
|
|
85
85
|
rubygems_version: 2.4.6
|
|
86
86
|
signing_key:
|
|
87
87
|
specification_version: 4
|
|
88
|
-
summary: Simplifies retrieving AWS resource objects created by CloudFormation
|
|
88
|
+
summary: Simplifies retrieving AWS resource objects created by CloudFormation.
|
|
89
89
|
test_files: []
|