1
0
mirror of https://github.com/google/nomulus synced 2026-01-04 04:04:22 +00:00

Update terraform files and instructions (#1402)

* Update terraform files and instructions

Update proxy terraform files based on current best practices and allow
exclusion of forwarding rules for HTTP endpoints.  Specifically:
-   Add a "public_web_whois" input to allow disabling the public HTTP
    whois forwarding.
-   Add "description" fields to all variables.
-   Move outputs of the top-level module into "outputs.tf".
-   Auto-reformat using hclfmt.
This commit is contained in:
Michael Muller
2021-10-29 09:10:23 -04:00
committed by GitHub
parent 77bc072aac
commit cecc1a6cc7
7 changed files with 91 additions and 49 deletions

View File

@@ -105,13 +105,14 @@ mentioned above.
Navigate to `proxy/terraform`, create a folder called
`envs`, and inside it, create a folder for the environment that proxy is
deployed to ("alpha" for example). Copy `example_config.tf` to the environment
folder.
deployed to ("alpha" for example). Copy `example_config.tf` and `outputs.tf`
to the environment folder.
```bash
$ cd proxy/terraform
$ mkdir -p envs/alpha
$ cp example_config.tf envs/alpha/config.tf
$ cp outputs.tf envs/alpha
```
Now go to the environment folder, edit the `config.tf` file and replace