ufo 6.1.2 → 6.1.3
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/CHANGELOG.md +3 -0
- data/lib/ufo/task_definition/helpers/stack_output.rb +8 -5
- data/lib/ufo/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: 881d674019c976e4c8cae9030f69bd2125e59c7af970a1fa2005dcbfb77a4887
|
4
|
+
data.tar.gz: 5c3e8f73e200390396c99aa292f949f5c0a7b0e457bab47e2b88dbc583adc0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eaca7eaa3999ce52dd4087dd2bd7862156f34c59443fcf06140f50356beb50237c4dea35d2dc68a1171576e17529c18144e5c97bc6aa4da4ea1edfa3b9411ef
|
7
|
+
data.tar.gz: 820645713455edf1d3e7fd242c68c21f32267f6eb031c67dd9236578d93c56e0a616750170f202ab27f32c86a0093a673fa5e7321c800b3d82121f38f156b29f
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [6.1.3] - 2022-03-14
|
7
|
+
- [#149](https://github.com/tongueroo/ufo/pull/149) stack_output helper improve message when stack not found
|
8
|
+
|
6
9
|
## [6.1.2] - 2022-03-14
|
7
10
|
- [#148](https://github.com/tongueroo/ufo/pull/148) Acm cert and user messaging improvements with config
|
8
11
|
- acm_cert helper improvements: warn when not found and only create ssl listener if cert is found
|
@@ -6,16 +6,19 @@ module Ufo::TaskDefinition::Helpers
|
|
6
6
|
def stack_output(name)
|
7
7
|
stack_name, output_key = name.split(".")
|
8
8
|
stack_name = names.expansion(stack_name)
|
9
|
-
|
10
|
-
stack
|
11
|
-
|
12
|
-
|
9
|
+
stack = find_stack(stack_name)
|
10
|
+
unless stack
|
11
|
+
logger.error "ERROR: Stack not found: #{stack_name}".color(:red)
|
12
|
+
call_line = ufo_config_call_line
|
13
|
+
DslEvaluator.print_code(call_line)
|
14
|
+
return
|
13
15
|
end
|
14
16
|
|
17
|
+
o = stack.outputs.detect { |h| h.output_key == output_key }
|
15
18
|
if o
|
16
19
|
o.output_value
|
17
20
|
else
|
18
|
-
logger.
|
21
|
+
logger.warn "WARN: NOT FOUND: output #{output_key} for stack #{stack_name}".color(:yellow)
|
19
22
|
nil
|
20
23
|
end
|
21
24
|
end
|
data/lib/ufo/version.rb
CHANGED