Merge pull request #27279 from kowshikRoy/add-var-multiple-example
website: add example of multiple var cli
This commit is contained in:
commit
303b326008
|
@ -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"}'
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue