https://github.com/MarcinKasprowicz/ultimate-terraform-folder-structure
https://github.com/MarcinKasprowicz/ultimate-terraform-folder-structure
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/MarcinKasprowicz/ultimate-terraform-folder-structure
- Owner: MarcinKasprowicz
- Created: 2022-07-20T06:28:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-25T11:11:46.000Z (over 2 years ago)
- Last Synced: 2024-08-03T22:19:35.491Z (9 months ago)
- Language: HCL
- Size: 8.79 KB
- Stars: 51
- Watchers: 4
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - MarcinKasprowicz/ultimate-terraform-folder-structure - (HCL)
README
# ultimate-terraform-folder-structure
# Description
The repository shows how Terraform project can be structured. For more visit the blog article - https://medium.com/schibsted-engineering/ultimate-terraform-project-structure-9fc7e79f6bc6
# Usage
Deploying temporary review environment using Terraform workspaces:
```
$ tfenv install
$ tfenv use
$ cd infrastructure/environments/rev
$ terraform init
$ terraform workspace new foo-bar-1
$ terraform apply
$ terraform destroy
$ terraform workspace select default
$ terraform workspace delete foo-bar-1
```