Quote dynamodb's ha_enabled property (#2547)

With `ha_enabled = true` vault crashes with the following error: 

```
error parsing 'storage': storage.dynamodb: At 17:16: root.ha_enabled: unknown type for string *ast.LiteralType
```

This seems related to https://github.com/hashicorp/vault/issues/1559
This commit is contained in:
Adam Shannon 2017-03-30 16:09:47 -05:00 committed by Jeff Mitchell
parent db86d87c8e
commit 1f0d9b10b6

View file

@ -24,7 +24,7 @@ The DynamoDB storage backend is used to persist Vault's data in
```hcl
storage "dynamodb" {
ha_enabled = true
ha_enabled = "true"
region = "us-west-2"
table = "vault-data"
}
@ -115,7 +115,7 @@ This example show enabling high availability for the DynamoDB storage backend.
```hcl
storage "dynamodb" {
ha_enabled = true
ha_enabled = "true"
redirect_addr = "vault-leader.my-company.internal"
}
```