Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```