diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile.am | 3 | ||||
-rw-r--r-- | etc/terminate-instances.fln | 23 |
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=\ | |||
81 | run-instances.fln\ | 81 | run-instances.fln\ |
82 | sg.fln\ | 82 | sg.fln\ |
83 | start-instances.fln\ | 83 | start-instances.fln\ |
84 | stop-instances.fln | 84 | stop-instances.fln\ |
85 | terminate-instances.fln | ||
85 | 86 | ||
86 | EXTRA_DIST=$(FLNFILES) default.fln eclat.cfin | 87 | EXTRA_DIST=$(FLNFILES) default.fln eclat.cfin |
87 | 88 | ||
diff --git a/etc/terminate-instances.fln b/etc/terminate-instances.fln new file mode 100644 index 0000000..12995c3 --- /dev/null +++ b/etc/terminate-instances.fln | |||
@@ -0,0 +1,23 @@ | |||
1 | /* This file is part of Eclat. | ||
2 | Copyright (C) 2012-2018 Sergey Poznyakoff. | ||
3 | |||
4 | Eclat is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 3, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | Eclat is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ | ||
16 | |||
17 | if (.TerminateInstancesResponse) { | ||
18 | for (var in .TerminateInstancesResponse.instancesSet.item) { | ||
19 | print(var.instanceId,": ", | ||
20 | var.previousState.name," => ", | ||
21 | var.currentState.name,"\n"); | ||
22 | } | ||
23 | } | ||