Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olliefr/tf-gcp-shenanigans
A sandbox for exploring Terraform and Google Cloud API shenanigans. Don't you sometimes wish Terraform could manage implicit dependencies better? 🥲
https://github.com/olliefr/tf-gcp-shenanigans
demo lab sandbox terraform terraform-google
Last synced: 23 days ago
JSON representation
A sandbox for exploring Terraform and Google Cloud API shenanigans. Don't you sometimes wish Terraform could manage implicit dependencies better? 🥲
- Host: GitHub
- URL: https://github.com/olliefr/tf-gcp-shenanigans
- Owner: olliefr
- License: apache-2.0
- Created: 2022-12-04T09:07:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T06:15:11.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T23:55:25.792Z (about 1 month ago)
- Topics: demo, lab, sandbox, terraform, terraform-google
- Language: HCL
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tf-gcp-shenanigans
* **Project State: Prototyping**
* For more information on project states and SLAs, see [this documentation](https://github.com/chef/chef-oss-practices/blob/d4333c01570eae69f65470d58ed9d251c2e552a3/repo-management/repo-states.md).A sandbox for exploring Terraform and Google Cloud API shenanigans. Don't you sometimes wish Terraform could manage implicit dependencies better? 🥲
## Useful commands
To run a Terraform `plan` or `apply` operation:
```shell
terraform plan -input=false -var 'project=ofrolovs-sandbox' -out tfplan
``````shell
terraform plan -input=false -var 'project=ofrolovs-sandbox' -destroy -out tfplan
``````shell
terraform apply tfplan
```To generate a visual representation of either a configuration or execution plan:
```shell
terraform graph > shenanigans-X.dot
``````shell
terraform graph -plan=tfplan > shenanigans-X.dot
```# Generate charts
I render Graphviz (`.dot`) files in Visual Studio Code with [tintinweb/vscode-interactive-graphviz](https://github.com/tintinweb/vscode-interactive-graphviz).