Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bisohns/infras-setup

Terraform scripts for the Gophie Infrastructure
https://github.com/bisohns/infras-setup

Last synced: 28 days ago
JSON representation

Terraform scripts for the Gophie Infrastructure

Awesome Lists containing this project

README

        

# terraform-aws

Ansible And Terraform scripts for the Gophie Infrastructure

## Requirements
- Terraform
- [Terraform Namecheap](https://github.com/adamdecaf/terraform-provider-namecheap)
- GCP Credentials
```bash
$ export GOOGLE_APPLICATION_CREDENTIALS=path-to-cred.json
```

- AWS CLI (or Credentials)
```bash
# for previously created 'profile'
$ export AWS_PROFILE=profile
```

- Ansible
```bash
$ pip install -r requirements.txt
$ ansible-galaxy install -r ./ansible/requirements.yml
```

## Create Infra
```bash
$ cd terraform/
$ terraform apply
```

## Destroy Infra
```bash
$ cd terraform/
$ terraform destroy
```