Entertaining Terraform chaos engineering, destroy resource by killing DOOM enemies.
This is a Rust fork of kubedoom, forked from dockerdoom, forked from psdoom
.
Technically, you could run this project outside a Docker container but this was especially designed to run in one.
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).
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
:
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:
docker buildx build .\
-t terraform-doom \
--build-arg VNC_PASSWORD=custom_password \
--build-arg TERRAFORM_VERSION=version
There are some useful cheat codes in-game:
idkfa
: Get a weapon on slot 5idspispopd
: No clip (useful to reach the mobs)