auto-delete root volume at ec2 destroy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-05-12 14:54:52 +02:00
parent b067186e30
commit 711165890d
3 changed files with 11 additions and 0 deletions

View File

@ -79,6 +79,9 @@ local PipelineNotifications = {
os: "linux",
arch: "amd64",
},
clone: {
disable: true,
},
steps: [
{
name: "matrix",

View File

@ -85,6 +85,9 @@ platform:
os: linux
arch: amd64
clone:
disable: true
steps:
- name: matrix
image: plugins/matrix

View File

@ -72,6 +72,11 @@
exact_count: 1
count_tag:
instance: "{{ item.name }}"
volumes:
- device_name: /dev/sda1
volume_type: gp2
volume_size: 8
delete_on_termination: yes
register: server
with_items: "{{ molecule_yml.platforms }}"
async: 7200