Skip to content

Commit

Permalink
Merge pull request #4245 from grisha/esd_fix
Browse files Browse the repository at this point in the history
Fix a bug whereby AWS elasticsearch domain access_policies will always appear changed
  • Loading branch information
jen20 committed Dec 10, 2015
2 parents 38d9b29 + 6fbfd99 commit a213fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_elasticsearch_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a213fe1

Please sign in to comment.