Skip to content

aju2372/elk

Repository files navigation

terraform-elk

Requirements

Name Version
terraform >=1.2.0
aws ~> 4.31.0
cloudinit 2.2.0

Providers

Name Version
aws 4.31.0
cloudinit 2.2.0

Modules

Name Source Version
elasticsearch ../terraform-modules/ec2_tg n/a
kibana ../terraform-modules/ec2_tg n/a
logstash ../terraform-modules/ec2_tg n/a

Resources

Name Type
aws_route53_record.es resource
aws_route53_record.kibana resource
aws_route53_record.logstash resource
aws_security_group_rule.logstash-server_port resource
aws_security_group_rule.server_apm-server_port resource
aws_security_group_rule.server_elasticsearch_port resource
aws_ami.ubuntu data source
aws_route53_zone.private data source
aws_security_group.common_sg_id data source
aws_vpc.vpc data source
cloudinit_config.cloud_init_elk data source

Inputs

Name Description Type Default Required
associate_public_ip_address Whether to associate public ip with the server or not bool n/a yes
aws_profile Region id for S3 Bucket to be used as backend string "default" no
az Availability zone id string n/a yes
common_tags n/a map(string) n/a yes
create_iam_role Boolean for adding IAM role or not bool n/a yes
custom_string Initials for any service string "custom" no
environment Environment name string n/a yes
health_check_path Health check path string n/a yes
instance_type EC2 Instance type string n/a yes
key_name EC2 SSH Key Pair name string n/a yes
region The AWS region to create things in. string n/a yes
subnet_tag Tag used on subnets to define Tier string n/a yes
subnet_tag_value Subnet tag on private subnets string n/a yes
target_group_port Target Group Port number n/a yes
vpc_name VPC Name for the AWS account and region specified string n/a yes

Outputs

Name Description
ami_id n/a
elasticsearch_private_ip n/a
elasticsearch_sg_id n/a
kibana_private_ip dns record creation for es,logstash & kibana
kibana_sg_id To create security group rule for 9200(on ES server), 8200(For apm on ES server) & 5601(kibana)
logstash_private_ip n/a
logstash_sg_id n/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published