Skip to content

scalereal/terraform-aws-elastic-beanstalk-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-elastic-beanstalk-environment

Terraform Module for AWS elastic beanstalk environment creation.

Requirements

Name Version
terraform >= 0.13
aws >= 3.50

Providers

Name Version
aws >= 3.50

Modules

No modules.

Resources

Name Type
aws_elastic_beanstalk_environment.env resource
aws_iam_instance_profile.ec2_iam_instance_profile resource
aws_iam_role.ec2_role resource
aws_iam_role.service_role resource
aws_iam_role_policy_attachment.policy_attachment_1 resource
aws_iam_role_policy_attachment.policy_attachment_2 resource
aws_iam_role_policy_attachment.policy_attachment_3 resource
aws_iam_role_policy_attachment.policy_attachment_4 resource
aws_iam_role_policy_attachment.service resource
aws_security_group.elastic_beanstalk_app_sg resource
aws_iam_policy_document.ec2_role data source
aws_iam_policy_document.service_role data source

Inputs

Name Description Type Default Required
application_port n/a string "80" no
asg_max_count n/a string "1" no
asg_min_count n/a string "1" no
autoscale_breach_duration n/a string "1" no
autoscale_lower_breach_scale_increment n/a string "-1" no
autoscale_lower_threshold n/a string "20" no
autoscale_measure_name n/a string "CPUUtilization" no
autoscale_period n/a string "1" no
autoscale_unit n/a string "Percent" no
autoscale_upper_breach_scale_increment n/a string "1" no
autoscale_upper_threshold n/a string "80" no
availability_zones n/a string "Any" no
aws_acm_certificate_arn ACM Certificate ARN string "" no
aws_key_pair_name SSH key for elastic beanstalk ec2 instances string "" no
description n/a string n/a yes
disable_ignore_4xx_errors n/a bool false no
eb_app_name n/a string n/a yes
elb_scheme n/a string "public" no
enable_delete_health_logs_on_terminate n/a string true no
enable_delete_logs_on_terminate n/a string true no
enable_enhanced_healthreporting n/a bool false no
enable_health_logs_streaming n/a string true no
enable_logs_streaming n/a bool true no
enable_ssl n/a bool false no
env n/a string n/a yes
environment_type n/a string "LoadBalanced" no
environment_variables n/a map(string) {} no
evaluation_periods n/a string "1" no
extra_settings n/a
list(object({
namespace = string
name = string
value = string
}))
[] no
health_log_retention_in_days n/a string "3" no
healthcheck_url n/a string "/" no
instance_port n/a string "80" no
instance_type n/a string "t2.micro" no
load_balancer_type n/a string "application" no
log_retention_in_days n/a string "3" no
notification_email n/a string "" no
private_subnets CIDR for private subnet vpc list(string) [] no
public_subnets CIDRs for public subnets list(string) [] no
service_name n/a string n/a yes
solution_stack_name n/a string n/a yes
statistic n/a string "Minimum" no
tags Tags for EB map(string) {} no
tier n/a string "WebServer" no
vpc_id n/a string n/a yes
wait_for_ready_timeout n/a string "20m" no

Outputs

Name Description
beanstalk_env_url n/a
beanstalk_security_group_id n/a
beanstalk_service_role_arn n/a
elastic_load_balancers n/a