===========
Terraform Module for deploying RK App clusters
This module contains a .terraform-version
file which matches the version of Terraform we currently use to test with.
env
- Environmentapp
- Name of applicationami_id
- ID of AMI to deploy via launch configurationvpc_id
- VPC ID in which to provision resourcesasg_subnets
- List of subnet IDs in which to create app server instancesiam_instance_profile
- ARN of IAM profile to associate with app server instanceskey_name
- EC2 key name to be used for access to app server instancesalb_security_group_id
- Security group ID associated with load balancerbastion_security_group_id
- Security group ID associated with bastion host
alb_listener_arn
- ARN of ALB listener to which target group should be registereddefault_cooldown
- The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. (default: 60)max_size
- Maximum size of auto scaling group (default: 4)min_size
- Minimum size of auto scaling group (default: 2)health_check_grace_period
- Time in seconds to wait before beginning health checks (default: 120)health_check_type
- Type of health check to apply (default: ELB)wait_for_capacity_timeout
- Time in seconds to wait for capacity changes to complete (default: 10m)instance_type
- Type of EC2 instance to use for app servers (default: t2.micro)port
- Numeric port on which the application listens (default: 8080)protocol
- Protocol on which the application listens (default: HTTP)health_check_path
- URL path for HTTP health check (default: /healthcheck)health_check_interval
- Interval in seconds for load balancer health checks (default: 15)health_check_timeout
- Time in seconds before load balancer health check times out (default: 5)health_check_healthy_threshold
- Number of consecutive successful health checks before service is healthy (default: 2)health_check_unhealthy_threshold
- Number of consecutive failed health checks before service is unhealthy (default: 4)health_check_healthy_codes
- HTTP response codes to be considered healthy (default: 200,302)associate_public_ip_address
- Associate a public IP address with app server instances (default: false)
target_group_arn
- (String) ARN of the target grouptarget_group_arn_suffix
- (String) Target Group ARN suffixtarget_group_name
- (String) Target Group Nameami_name
- (String) AMI Nameautoscaling_group_arn
- (String) The ARN for this AutoScaling Groupautoscaling_group_id
- (String) The autoscaling group idautoscaling_group_name
- (String) The name of the autoscale group
- Tim Hartmann
- Steve Huff License =======