Update README.md with minor fixes and cleanup

This commit is contained in:
Drew Leske 2018-02-23 15:05:29 -08:00 committed by GitHub
parent e2c5a3895b
commit 66bd570584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,18 +95,19 @@ This will be the base for subsequent Terraform commands.
#### OpenStack access and credentials #### OpenStack access and credentials
No provider variables are hardcoded inside `variables.tf` because Terraform No provider variables are hardcoded inside `variables.tf` because Terraform
supports various authentication method for OpenStack, between identity v2 and supports various authentication methods for OpenStack: the older script and
v3 API, `openrc` or `clouds.yaml`. environment method (using `openrc`) as well as a newer declarative method, and
different OpenStack environments may support Identity API version 2 or 3.
These are examples and may vary depending on your OpenStack cloud provider, These are examples and may vary depending on your OpenStack cloud provider,
for an exhaustive list on how to authenticate on OpenStack with Terraform for an exhaustive list on how to authenticate on OpenStack with Terraform
please read the [OpenStack provider documentation](https://www.terraform.io/docs/providers/openstack/). please read the [OpenStack provider documentation](https://www.terraform.io/docs/providers/openstack/).
##### Recommended method: clouds.yaml ##### Declarative method (recommended)
Newer recommended authentication method is to use a `clouds.yaml` file that can be store in: The recommended authentication method is to describe credentials in a YAML file `clouds.yaml` that can be stored in:
* `Current Directory` * the current directory
* `~/.config/openstack` * `~/.config/openstack`
* `/etc/openstack` * `/etc/openstack`
@ -134,7 +135,7 @@ the one you want to use with the environment variable `OS_CLOUD` :
export OS_CLOUD=mycloud export OS_CLOUD=mycloud
``` ```
##### Deprecated method : openrc ##### Openrc method (deprecated)
When using classic environment variables, Terraform uses default `OS_*` When using classic environment variables, Terraform uses default `OS_*`
environment variables: environment variables: