awstool

module
v0.0.0-...-d4614cf Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: CC0-1.0

README

awstool

Inteview simple tool

Build

make build

Aplication will be builded into main repo directory

Run Unit tests

make test

Usage

To use this simple tool first we need to change some variables in cmd/main.go file:

const (
	arnTargetgroup = "arn:aws:elasticloadbalancing:eu-central-1:XXXXXXXXXXXX:targetgroup/test/c7a44c37a781fe94"
	region         = "eu-central-1"
)

We need to setup arnTargetgroup and region for our AWS. arnTargetgroup we can check by executing command:

aws elbv2 --region=<region> describe-target-groups

Then we can use our application this way:

./deploy --help
Usage of ./deploy:
  -firstImage string
        image which we want to change (default "ami-0c960b947cbb2dd16")
  -secondImage string
        image to which we want to change (default "ami-0ed0be684d3f014bf")

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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