https://github.com/bisohns/infras-setup
Terraform scripts for the Gophie Infrastructure
https://github.com/bisohns/infras-setup
Last synced: 4 months ago
JSON representation
Terraform scripts for the Gophie Infrastructure
- Host: GitHub
- URL: https://github.com/bisohns/infras-setup
- Owner: bisohns
- Created: 2020-09-26T22:15:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T10:27:41.000Z (about 2 years ago)
- Last Synced: 2025-01-24T08:32:00.424Z (6 months ago)
- Language: HCL
- Size: 1.16 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```