Merge pull request #4245 from grisha/esd_fix

Fix a bug whereby AWS elasticsearch domain access_policies will always appear changed
This commit is contained in:
James Nugent 2015-12-10 14:08:38 -05:00
commit a213fe121d
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ func resourceAwsElasticSearchDomainRead(d *schema.ResourceData, meta interface{}
ds := out.DomainStatus ds := out.DomainStatus
d.Set("access_policies", *ds.AccessPolicies) d.Set("access_policies", normalizeJson(*ds.AccessPolicies))
err = d.Set("advanced_options", pointersMapToStringList(ds.AdvancedOptions)) err = d.Set("advanced_options", pointersMapToStringList(ds.AdvancedOptions))
if err != nil { if err != nil {
return err return err