https://github.com/ridi/pay-infra
RIDI Pay Infrastructure as Code
https://github.com/ridi/pay-infra
Last synced: 20 days ago
JSON representation
RIDI Pay Infrastructure as Code
- Host: GitHub
- URL: https://github.com/ridi/pay-infra
- Owner: ridi
- License: mit
- Created: 2018-09-07T10:12:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-06T00:55:05.000Z (almost 5 years ago)
- Last Synced: 2024-08-04T01:25:04.030Z (over 1 year ago)
- Language: HCL
- Size: 121 KB
- Stars: 45
- Watchers: 9
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: security_groups.tf
Awesome Lists containing this project
- awesome-list - pay-infra
README
# infrastructure
RIDI Pay infrastructure as code.
## Workspaces Guide
We use [Workspaces](https://www.terraform.io/docs/state/workspaces.html) to manage different environments (production, dev, etc.) in a single configuration.
- List Workspaces
```
$ terraform workspace list
* default
staging
```
- Select a Workspace
```
$ terraform workspace select staging
```
- Create a new Workspace
```
$ terraform workspace new test
Created and switched to workspace "test"!
You're now on a new, empty workspace. Workspaces isolate their state,
so if you run "terraform plan" Terraform will not see any existing state
for this configuration.
```
# Diagram
- Backend
