Skip to content

Commit

Permalink
Merge pull request #10 from rmorris1218/add-tf-aes-support
Browse files Browse the repository at this point in the history
add support for supporting aws elasticsearch access policies, fixes #9
  • Loading branch information
lhitchon committed Jan 12, 2019
2 parents 3b05e87 + 1f38f81 commit 56c2546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func replaceVariablesInList(list []interface{}, variables []Variable) []interfac

func parseJSONDocuments(resource interface{}) (interface{}, error) {
properties := resource.(map[string]interface{})
for _, attribute := range []string{"assume_role_policy", "policy", "container_definitions"} {
for _, attribute := range []string{"assume_role_policy", "policy", "container_definitions", "access_policies"} {
if policyAttribute, hasPolicyString := properties[attribute]; hasPolicyString {
if policyString, isString := policyAttribute.(string); isString {
var policy interface{}
Expand Down

0 comments on commit 56c2546

Please sign in to comment.