Skip to content

Instantly share code, notes, and snippets.

@einyx
Created September 21, 2020 08:34
Show Gist options
  • Save einyx/adea5dead0039e1ebd39defdbdf3611c to your computer and use it in GitHub Desktop.
Save einyx/adea5dead0039e1ebd39defdbdf3611c to your computer and use it in GitHub Desktop.
elk
include {
path = find_in_parent_folders()
}
# These are the variables we have to pass in to use the module specified in the terragrunt configuration above
inputs = {
namespace = "eg"
stage = "dev"
name = "es"
dns_zone_id = ""
security_groups = ["sg-XXXXXXXXX", "sg-YYYYYYYY"]
vpc_id = "vpc-XXXXXXXXX"
subnet_ids = ["subnet-XXXXXXXXX", "subnet-YYYYYYYY"]
zone_awareness_enabled = "true"
elasticsearch_version = "6.5"
instance_type = "t2.small.elasticsearch"
instance_count = 4
ebs_volume_size = 10
iam_role_arns = ["arn:aws:iam::XXXXXXXXX:role/ops", "arn:aws:iam::XXXXXXXXX:role/dev"]
iam_actions = ["es:ESHttpGet", "es:ESHttpPut", "es:ESHttpPost"]
encrypt_at_rest_enabled = true
kibana_subdomain_name = "kibana-es"
encrypt_at_rest_kms_key_id = "XXXXXXXXXX"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment