# admin-services terraform

Terraform for account level infrastructure.

## Setup

See [this page](https://wiki.twitch.com/display/AP/Setting+up+AWS+creds) for
setting up AWS credentials via Isengard.

You'll also need to setup [terraform-provider-sandstorm].

## Project Structure

- `./accounts/<accounts-name>` is where configuration for each account lives.
  This is where you `terraform apply`.
- `./modules/<module-name>` is where re-usable modules are defined.

### Modules

Please add README files for all modules defined that explicitly declare:

1. Module purpose.
2. Module usage.

### Admin scripts

`./main.go` is the entry point to admin scripts on the account level. Run the
following for additional information.

```
go run . -h
```

[terraform-provider-sandstorm]: https://git-aws.internal.justin.tv/sse/terraform-provider-sandstorm
