summaryrefslogtreecommitdiffabout
path: root/etc
Side-by-side diff
Diffstat (limited to 'etc') (more/less context) (show whitespace changes)
-rw-r--r--etc/Makefile.am3
-rw-r--r--etc/terminate-instances.fln23
2 files changed, 25 insertions, 1 deletions
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 21b958b..2376583 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -81,7 +81,8 @@ FLNFILES=\
run-instances.fln\
sg.fln\
start-instances.fln\
- stop-instances.fln
+ stop-instances.fln\
+ terminate-instances.fln
EXTRA_DIST=$(FLNFILES) default.fln eclat.cfin
diff --git a/etc/terminate-instances.fln b/etc/terminate-instances.fln
new file mode 100644
index 0000000..12995c3
--- a/dev/null
+++ b/etc/terminate-instances.fln
@@ -0,0 +1,23 @@
+/* This file is part of Eclat.
+ Copyright (C) 2012-2018 Sergey Poznyakoff.
+
+ Eclat is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ Eclat is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Eclat. If not, see <http://www.gnu.org/licenses/>. */
+
+if (.TerminateInstancesResponse) {
+ for (var in .TerminateInstancesResponse.instancesSet.item) {
+ print(var.instanceId,": ",
+ var.previousState.name," => ",
+ var.currentState.name,"\n");
+ }
+}

Return to:

Send suggestions and report system problems to the System administrator.