website: add example of multiple var cli

This PR updates the documentation of input variable of terraform. It's
mentioned that multiple `-var` is possible, but no example is given.
This PR adds an example of multiple `-var` option
This commit is contained in:
Repon Kumar Roy 2020-12-15 02:09:30 +08:00
parent 9ac8e3c55e
commit 7d093cbede
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ when running the `terraform plan` and `terraform apply` commands:
```
terraform apply -var="image_id=ami-abc123"
terraform apply -var='image_id_list=["ami-abc123","ami-def456"]'
terraform apply -var='image_id_list=["ami-abc123","ami-def456"]' -var="instance_type=t2.micro"
terraform apply -var='image_id_map={"us-east-1":"ami-abc123","us-east-2":"ami-def456"}'
```