Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbar1/cloud
:cloud: Infrastructure as code for my cloud playground accounts
https://github.com/pbar1/cloud
aws azure gcp infrastructure-as-code kubernetes terraform
Last synced: 8 days ago
JSON representation
:cloud: Infrastructure as code for my cloud playground accounts
- Host: GitHub
- URL: https://github.com/pbar1/cloud
- Owner: pbar1
- License: mit
- Created: 2019-03-02T22:49:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T02:42:20.000Z (almost 6 years ago)
- Last Synced: 2024-11-29T02:30:10.494Z (2 months ago)
- Topics: aws, azure, gcp, infrastructure-as-code, kubernetes, terraform
- Language: HCL
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pierce's Cloud
This is basically my scratchpad repo for cloud infrastructure. It uses Terraform backed by Google Cloud Storage (GCS) because it has an excellent always-free tier, and you should always store your state remotely!
## Requirements
### Terraform
As stated, I'm using Hashicorp Terraform to build the infrastructure in this repo. I'm using this standard for Terraform remote state, always in `backend.tf`:
```
terraform {
backend "gcs" {
bucket = "tf-state-390820"
prefix = "cloud/aws/networking" # should mirror repo structure for clarity
}
}
```For this to work, set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to a path pointing at a JSON file containing your GCP credentials. For example,
```
export GOOGLE_APPLICATION_CREDENTIALS="$HOME/.config/gcp/credentials.json"
```## Structure
```
.
├── aws
├── azure
├── gcp
└── k8s
```