Skip to content

Daemon-Solutions/tf-aws-asg-laguna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-aws-asg-laguna

Terraform version compatibility

Module version Terraform version
1.x.x 0.12.x
0.x.x 0.11.x

Upgrading from 0.11.x and earlier to 0.12.x should be seamless. You can simply update the ref in your source to point to a version greater than 4.0.0.

When first applied in 0.12.x, some policies may update due to the slight difference in format that occurs when moving from inline JSON to aws_iam_policy_document, however the policy permissions granted remain the same.

Requirements

Name Version
terraform >= 0.12.31
terraform >= 0.12
aws >= 4.0.0

Providers

Name Version
aws >= 4.0.0

Modules

No modules.

Resources

Name Type
aws_autoscaling_attachment.wordpress_autoscaling_attachment resource
aws_autoscaling_group.asg resource
aws_launch_template.lt resource
aws_lb.alb resource
aws_lb.alb_internal resource
aws_lb_listener.alb_https_listener resource
aws_lb_listener.alb_internal_listener resource
aws_lb_listener_certificate.alb_listener_acm resource
aws_lb_target_group.alb_https_target_group resource
aws_lb_target_group.alb_internal_listener_target_group resource

Inputs

Name Description Type Default Required
alb_certificate_arn n/a string n/a yes
alb_health_path n/a string "/" no
alb_health_port n/a string "80" no
alb_int_enabled n/a string false no
alb_internal_port n/a string n/a yes
alb_internal_target_protocol n/a string "TCP" no
alb_listener_protocol n/a string n/a yes
alb_logs_bucket The bucket to store the logs string n/a yes
alb_logs_bucket_prefix The S3 bucket prefix of where the alb logs are stored string "alb-logs" no
alb_target_port n/a string n/a yes
alb_target_protocol n/a string n/a yes
ami_id Launch Configuration Variables any n/a yes
asg_max n/a number 1 no
asg_min n/a number 0 no
associate_public_ip_address n/a bool false no
detailed_monitoring n/a bool false no
ebs_block_device Specify volumes to attach to the instance besides the volumes specified by the AMI list(any) [] no
enabled_metrics A list of metrics to collect. The allowed values are GroupMinSize, GroupMaxSize, GroupDesiredCapacity, GroupInServiceInstances, GroupPendingInstances, GroupStandbyInstances, GroupTerminatingInstances, GroupTotalInstances list(string)
[
"GroupMinSize",
"GroupMaxSize",
"GroupDesiredCapacity",
"GroupInServiceInstances",
"GroupPendingInstances",
"GroupStandbyInstances",
"GroupTerminatingInstances",
"GroupTotalInstances"
]
no
envname n/a any n/a yes
full_name Full name of the resource (as opposed to prefix), in order to retain laguna compatibility string null no
health_check_grace_period n/a number 300 no
health_check_type n/a string "EC2" no
https_port n/a string "443" no
iam_instance_profile n/a any n/a yes
instance_type n/a string "t2.micro" no
key_name n/a any n/a yes
module_enabled SD-3205 bool false no
name Global Configuration any n/a yes
public_subnets A list of Public subnet IDs to launch resources in any n/a yes
security_groups n/a any n/a yes
service n/a any n/a yes
ssl_policy n/a string "ELBSecurityPolicy-TLS-1-2-2017-01" no
stickiness_type n/a string "lb_cookie" no
subnets A list of subnet IDs to launch resources in any n/a yes
suspended_processes n/a list(string)
[
"HealthCheck",
"Launch",
"ReplaceUnhealthy",
"Terminate"
]
no
update_default_version Update Default Template Version bool true no
user_data Content of userdata file any n/a yes
vpc_id ALB string n/a yes

Outputs

Name Description
asg_id n/a
asg_name n/a
aws_lb_alb_dns_name n/a
aws_lb_alb_internal_dns_name n/a
launch_config_id n/a

About

Exception for SD Lagun Environment

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages