Fix a bug whereby AWS elasticsearch domain access_policy will
always appear changed because of a missing normalizeJson().
This commit is contained in:
parent
07f398fb3b
commit
6fbfd99ace
|
@ -247,7 +247,7 @@ func resourceAwsElasticSearchDomainRead(d *schema.ResourceData, meta interface{}
|
|||
|
||||
ds := out.DomainStatus
|
||||
|
||||
d.Set("access_policies", *ds.AccessPolicies)
|
||||
d.Set("access_policies", normalizeJson(*ds.AccessPolicies))
|
||||
err = d.Set("advanced_options", pointersMapToStringList(ds.AdvancedOptions))
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue