An open API service indexing awesome lists of open source software.

https://github.com/tleyden/awsutil

Utilities to extend aws-sdk-go
https://github.com/tleyden/awsutil

aws cloudformation ec2-instance golang sdk

Last synced: 20 days ago
JSON representation

Utilities to extend aws-sdk-go

Awesome Lists containing this project

README

          

[![CircleCI](https://circleci.com/gh/tleyden/awsutil.svg?style=svg)](https://circleci.com/gh/tleyden/awsutil) [![GoDoc](https://godoc.org/github.com/tleyden/awsutil?status.png)](https://godoc.org/github.com/tleyden/awsutil) [![Coverage Status](https://coveralls.io/repos/github/tleyden/awsutil/badge.svg?branch=master)](https://coveralls.io/github/tleyden/awsutil?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/tleyden/awsutil)](https://goreportcard.com/report/github.com/tleyden/awsutil) [![codebeat badge](https://codebeat.co/badges/813c41f7-5cba-4421-83f4-103955ea2981)](https://codebeat.co/projects/github-com-tleyden-awsutil) [![CLA assistant](https://cla-assistant.io/readme/badge/tleyden/awsutil)](https://cla-assistant.io/tleyden/awsutil) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

A collection of utilities to automate tasks on AWS that aren't covered by the AWS CLI or SDK.

```
$ go get -v -t github.com/tleyden/awsutil/...
```

## Stop all instances in Cloudformation Stack

```
$ awsutil cloudformation stop-instances --region us-east-1 --stackname yourstack
```

This will stop all EC2 instances in the `yourstack` Cloudformation Stack.

## Restart all instances in Cloudformation Stack

```
$ awsutil cloudformation start-instances --region us-east-1 --stackname yourstack
```

This will restart all EC2 instances in the `yourstack` Cloudformation Stack.