lono 7.4.4 → 7.4.5
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79dbe393ede5553a92afd2d77990c0c732dce92b02209f9bc73c69f6fd0bfe33
|
4
|
+
data.tar.gz: 7db1000866845fdd0fcada396b2b98dc20d0a4eff362a83981967d58a45abe80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42e372d723ee766ca855bae838799db18350791892e7feeafd3aecf14e438620be8db811c65aa43023e54c2a2072fba076c84af5faea3c3ebb0dd447766fab5c
|
7
|
+
data.tar.gz: 8fb483d29241d3f4c0fce27231f2b7d02bb6f2e2261c71a332e8259117a70fbad17c307bbc7c864dc0a4897854e84c98143720def4d72d6522277f3f89097fab
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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
|
+
## [7.4.5]
|
7
|
+
- add DeletionPolicy to special property mover also
|
8
|
+
- improve sets delete messaging
|
9
|
+
|
6
10
|
## [7.4.4]
|
7
11
|
- #62 update gemspec templates
|
8
12
|
- #63 lono sets: default --iam option to true for stack sets
|
data/lib/lono/sets/delete.rb
CHANGED
@@ -14,7 +14,12 @@ class Lono::Sets
|
|
14
14
|
if @options[:noop]
|
15
15
|
puts "NOOP #{message}"
|
16
16
|
else
|
17
|
-
|
17
|
+
desc =<<~EOL
|
18
|
+
Be sure that the emptied StackSet instances is emptied first.
|
19
|
+
You can empty it with a separate command: lono sets instances delete #{@stack} --all
|
20
|
+
This command will only delete the StackSet itself after it's been emptied.
|
21
|
+
EOL
|
22
|
+
sure?("Are you sure you want to delete the #{@stack} stack set?", desc)
|
18
23
|
|
19
24
|
if stack_set_exists?(@stack)
|
20
25
|
cfn.delete_stack_set(stack_set_name: @stack) # resp is an Empty structure, so much get operation_id from status
|
@@ -6,7 +6,7 @@ class Lono::Template::Strategy::Dsl::Builder::Section::Resource
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def move!
|
9
|
-
%w[
|
9
|
+
%w[Condition DeletionPolicy DependsOn].each do |attribute_name|
|
10
10
|
# Account for camelize, underscore, String, and Symbol
|
11
11
|
move(attribute_name.to_sym)
|
12
12
|
move(attribute_name.camelize.to_sym)
|
data/lib/lono/version.rb
CHANGED