Skip to content

Terraform AWS module to update a DNS record with the instance ips of the machines in an ASG

License

Notifications You must be signed in to change notification settings

ChrisMcKee/terraform-aws-asgdns

Repository files navigation

Terraform Module: AutoScaling with DNS update (AWS)

ASG with lifecycle and lambda to update a R53 record with the ips of the instances.

Inputs

Name Description Type Default Required
asg_name The name of the ASG string n/a yes
attributes Additional attributes (e.g. 1) list(string) [] no
autoscale_handler_unique_identifier asg_dns_handler string n/a yes
autoscale_route53zone_arn The ARN of route53 zone associated with autoscaling group string n/a yes
delimiter Delimiter to be used between namespace, stage, name and attributes string "-" no
name Name (e.g. efs-provider) string "efs-provider" no
namespace Namespace (e.g. eg or cp) string n/a yes
stage Stage (e.g. prod, dev, staging) string n/a yes
tags Additional tags (e.g. \{ BusinessUnit = "XYZ" \} map(string) {} no

Outputs

Name Description
agent_lifecycle_iam_role_arn IAM Role ARN for lifecycle_hooks
autoscale_handling_sns_topic_arn SNS topic ARN for autocaling group
autoscale_iam_role_arn IAM role ARN for autocscaling group

About

Terraform AWS module to update a DNS record with the instance ips of the machines in an ASG

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published