Commit 74f03b7b authored by Nels Nelson's avatar Nels Nelson

suggest alternative to pwgen

https://superuser.com/a/1052689/920722
parent 8263ca92
...@@ -61,7 +61,7 @@ Then start working. ...@@ -61,7 +61,7 @@ Then start working.
#### Getting Started: #### Getting Started:
1. Clone [chef-repo](https://ops.gitlab.net/gitlab-cookbooks/chef-repo) if you haven't already. 1. Clone [chef-repo](https://ops.gitlab.net/gitlab-cookbooks/chef-repo) if you haven't already.
1. Install `pwgen`. If you're using brew you can simply run `brew install pwgen`. 1. Install a tool for generating passwords that are easier for human beings to remember, like the [xkcd password generator](https://github.com/redacted/XKCD-password-generator) which may be installed with `pip install xkcdpass`, or [pwgen](https://github.com/jbernard/pwgen), which is available in the Ubuntu, Debian, Fedora, Suse, and macOS Homebrew repositories (`apt install --assume-yes pwgen`, `yum install -y pwgen`, `dnf install -y pwgen`, or `brew install pwgen`).
1. It is highly suggested to utilize some sort of terraform versioning manager such as [tfenv](https://github.com/kamatama41/tfenv) with `brew install tfenv` in order to manage multiple versions of Terraform. So if _for instance_ you want to install version 0.9.8 all you have to do it run `tfenv install 0.9.8` and enable it with `tfenv use 0.9.8`. To verify this, run `terraform -version` and check the version string. See the _Important Notes_ section above to determine which versions are used in our environment. 1. It is highly suggested to utilize some sort of terraform versioning manager such as [tfenv](https://github.com/kamatama41/tfenv) with `brew install tfenv` in order to manage multiple versions of Terraform. So if _for instance_ you want to install version 0.9.8 all you have to do it run `tfenv install 0.9.8` and enable it with `tfenv use 0.9.8`. To verify this, run `terraform -version` and check the version string. See the _Important Notes_ section above to determine which versions are used in our environment.
1. There are two wrapper scripts in the `bin/` directory that should be used in place of the `terraform` executable, `tf` and `tf-init`. Ensure that `gitlab-com-infrastructure/bin` is in your $PATH 1. There are two wrapper scripts in the `bin/` directory that should be used in place of the `terraform` executable, `tf` and `tf-init`. Ensure that `gitlab-com-infrastructure/bin` is in your $PATH
1. You need to provide some secrets to Terraform using shell env vars. Wrappers in `bin/` source a number of files in `private/env_vars`. The contents of these files can be found in 1Password vault called Production. In 1password search for "terraform-private" and create each of the `*.env` files in the `private/env_vars` directory. For example: 1. You need to provide some secrets to Terraform using shell env vars. Wrappers in `bin/` source a number of files in `private/env_vars`. The contents of these files can be found in 1Password vault called Production. In 1password search for "terraform-private" and create each of the `*.env` files in the `private/env_vars` directory. For example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment