Closed mohamed-essam closed 1 year ago
@mohamed-essam thanks for the PR. Please make a few changes:
The resource data "aws_iam_policy_document" "assume_role"
in https://github.com/cloudposse/terraform-aws-elasticsearch/blob/master/main.tf#L84
is only needed if we create resource "aws_iam_role" "elasticsearch_user"
. Please add the same logic in the count
as you added for resource "aws_iam_role" "elasticsearch_user"
In https://github.com/cloudposse/terraform-aws-elasticsearch/blob/master/main.tf#L258
, change it to
identifiers = distinct(compact(concat(var.iam_role_arns, aws_iam_role.elasticsearch_user[*].arn)))
to use the splat expression https://developer.hashicorp.com/terraform/language/expressions/splat
make init
make github/init
make readme
Thank you
@aknysh I couldn't find exact documentation on the steps required for contribution (I saw make readme in a comment in README.md), would it be possible to add these steps in a CONTRIBUTING.md file or in the README?
nice point, we should add it, thanks
/test all
what
why
references
closes #160