ami-remover

command module
v0.0.0-...-13c3c1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 9 Imported by: 0

README

ami-remover

install

go install github.com/ogady/ami-remover@latest

usage

引数に削除対象のAMI名(複数指定可能)を指定、-dateに削除の起点となる作成日付を指定して実行する

AMIに紐づくEBS Snapshotも一緒に削除される。

# Normal mode
# 2020/08/29以前に作成されたAMI(引数で指定した文字列を含むAMI)を削除する
ami-remover ${AMI NAME 1} ${AMI NAME 2} -date=20200829

# Dry run mode
ami-remover ${AMI NAME 1} ${AMI NAME 2} -date=20200829 -dry_run

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL