Sign inSign up

reload/resh

By reload

Updated 10 months ago

Image
0

1.5K

reload/resh repository overview

Reload (ops?) Shell

A small docker-based shell that eases the use of terraform.

Resh mounts ${HOME}/.config into the shell which makes your google cloud sdk state available inside the shell. It also source .resh.profile if the file exists in the directory which allows you to implement project-specific tweaks.

Installation

# Optional, this step is assumed in the remaining examples though.
ln -s /path/to/checkout/resh/run.sh /usr/local/bin/resh

# Make sure the image is build (this could be built into the image in a future release or we could just go via dockerhub)
make

Usage

# Then cd to your project that may or may not have a .resh.profile
# Launch the shell
resh

# Then (inside the shell) do the following to make the reops project admin
# service-account available.
unseal-admin

# You can now do terraform init/plan/apply/etc.

Dangerzone (probably)

# You could also launch resh like this
bash -c "$(docker run reload/resh:latest cat /opt/resh/resh.sh)"

# With all the obvious risks it may carry

Tag summary

Content type

Image

Digest

sha256:672e6fa9c

Size

972.8 MB

Last updated

10 months ago

docker pull reload/resh