ec2id

command module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 14 Imported by: 0

README

ec2id

test codecov

A CLI tool that retrieve the EC2 instance ID of specified instance's Name tag.

Usage

Configure your AWS credentials, and then run as follows

# retrieve the latest launched instance id
$ ec2id
i-0691a69ff0914bae1

You can specify the instnace's Name tag

# retrieve the instance id with tag:Name = "sample"
$ ec2id sample
i-0acd9f178c934caea

Install

Install from binary

Binaries are available from Github Releases.

Install from homebrew
$ brew install thaim/tap/ec2id
Install from go install
$ go install github.com/thaim/ec2id@main

LICENSE

MIT

Documentation

Overview

Package main is a generated GoMock package.

Jump to

Keyboard shortcuts

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