terrafying-components 1.10.0 → 1.10.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/terrafying/components/prometheus.rb +4 -4
- data/lib/terrafying/components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bbe72b2bb789e7984f8e2a55f9603bc71c23e9f948fd2a29f1eb05c7a240c30
|
4
|
+
data.tar.gz: ff474b71a699f0f112f6692a28f6759e24c2dbb3736f054c212179e37c558df6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 646340ca6fabcbfff7b54564b459699ac7cb2af73edd5397938b612573aee0a1c0e11d07427777a363ab301c3e37fc98d704b9b9b386779d815efb7fe10c5347
|
7
|
+
data.tar.gz: 224aecc5ebed93e70ea1a6af9f49a6675eafc46e2adf6fc2eb96aa069651b987e0fea4518a42b777c0a33ae768c2ceebf45992ea3f71f575ec401d17639b6e7a
|
@@ -7,14 +7,14 @@ require 'terrafying/components'
|
|
7
7
|
module Terrafying
|
8
8
|
module Components
|
9
9
|
class Prometheus < Terrafying::Context
|
10
|
-
attr_reader :prometheus
|
10
|
+
attr_reader :prometheus, :security_group
|
11
11
|
|
12
12
|
def self.create_in(options)
|
13
13
|
new(**options).tap(&:create)
|
14
14
|
end
|
15
15
|
|
16
|
-
def self.find_in(
|
17
|
-
new(
|
16
|
+
def self.find_in(options)
|
17
|
+
new(**options).tap(&:find)
|
18
18
|
end
|
19
19
|
|
20
20
|
def initialize(
|
@@ -33,7 +33,7 @@ module Terrafying
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def find
|
36
|
-
@security_group = aws.
|
36
|
+
@security_group = aws.security_group_in_vpc(
|
37
37
|
@vpc.id,
|
38
38
|
"dynamicset-#{@vpc.name}-#{@prom_name}"
|
39
39
|
)
|