Skip to content

Commit

Permalink
Examples: update usage section in readme
Browse files Browse the repository at this point in the history
Add TF_VAR_user_password into all examples.
  • Loading branch information
ozerovandrei committed Feb 17, 2019
1 parent a00bda9 commit 2aacadf
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 15 deletions.
12 changes: 9 additions & 3 deletions examples/vpc/kubernetes_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ cluster.

## Example usage

```
```sh
terraform init

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply -target=module.project_with_user

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply
```
12 changes: 9 additions & 3 deletions examples/vpc/server_local_and_remote_disks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ from a local disk with additional remote disk attached.

## Example usage

```
```sh
terraform init

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply -target=module.project_with_user

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply
```
12 changes: 9 additions & 3 deletions examples/vpc/server_local_root_disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ from a local disk.

## Example usage

```
```sh
terraform init

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply -target=module.project_with_user

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply
```
12 changes: 9 additions & 3 deletions examples/vpc/server_remote_root_disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ from a remote disk.

## Example usage

```
```sh
terraform init

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply -target=module.project_with_user

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply
```
12 changes: 9 additions & 3 deletions examples/vpc/server_remote_root_disk_two_ports/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ from a remote disk that has two network ports in different subnets.

## Example usage

```
```sh
terraform init

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply -target=module.project_with_user

env TF_VAR_sel_account=xxxxx TF_VAR_sel_token=yyy_xxx \
env \
TF_VAR_sel_account=xxxxx\
TF_VAR_sel_token=yyy_xxx \
TF_VAR_user_password=secret \
terraform apply
```

0 comments on commit 2aacadf

Please sign in to comment.