Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theobori/terraform-doom
đ¨ Destroy Terraform resources by playing DOOM
https://github.com/theobori/terraform-doom
chaos-engineering docker doom terraform vnc-server xorg
Last synced: about 2 months ago
JSON representation
đ¨ Destroy Terraform resources by playing DOOM
- Host: GitHub
- URL: https://github.com/theobori/terraform-doom
- Owner: theobori
- License: mit
- Created: 2023-05-07T15:27:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-05T01:38:16.000Z (7 months ago)
- Last Synced: 2024-06-05T02:46:57.881Z (7 months ago)
- Topics: chaos-engineering, docker, doom, terraform, vnc-server, xorg
- Language: Rust
- Homepage:
- Size: 257 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# đ¨ terraform-doom
Entertaining Terraform chaos engineering, destroy resource by killing DOOM enemies.
This is a Rust fork of [kubedoom](https://github.com/storax/kubedoom), forked from [dockerdoom](https://github.com/gideonred/dockerdoom), forked from **`psdoom`**.
Technically, you could run this project outside a Docker container but this was especially designed to run in one.
![In game](./assets/in-game.png)
## âšī¸ Usage
An example with the Terraform project in `./examples`. Feel free to **`terraform apply`** before or after running the Docker container, both will work. This is a special case using the `local` Terraform provider with files, if you want them to get deleted, you must bind a volume into the Docker container. Otherwise it will work, but only the Terraform resources are going to be destroyed.
The Terraform project directory must be bound at `/terraform` inside the container (like below).
```bash
docker run \
-itd \
--rm=true \
--name terraform-doom \
-p 5900:5900 \
-v $PWD/examples:/terraform \
b0thr34l/terraform-doom:1.0
```Now you can play DOOM through a VNC client. Example with `vnclient`:
```bash
vncviewer viewer localhost:5900
```The default password is `1234` and the default terraform version is `1.4.6`.
You can change them by building the image yourself:
```bash
docker buildx build .\
-t terraform-doom \
--build-arg VNC_PASSWORD=custom_password \
--build-arg TERRAFORM_VERSION=version
```## đ Cheat codes
There are some useful cheat codes in-game:
- **`idkfa`**: Get a weapon on slot 5
- **`idspispopd`**: No clip (useful to reach the mobs)