https://github.com/chrismckee/terraform-aws-asgdns
Terraform AWS module to update a DNS record with the instance ips of the machines in an ASG
https://github.com/chrismckee/terraform-aws-asgdns
asg autoscaling-groups aws dns terraform tf12
Last synced: about 1 month ago
JSON representation
Terraform AWS module to update a DNS record with the instance ips of the machines in an ASG
- Host: GitHub
- URL: https://github.com/chrismckee/terraform-aws-asgdns
- Owner: ChrisMcKee
- License: mit
- Created: 2019-11-25T11:37:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-01T15:09:33.000Z (over 5 years ago)
- Last Synced: 2025-02-09T06:24:35.983Z (8 months ago)
- Topics: asg, autoscaling-groups, aws, dns, terraform, tf12
- Language: HCL
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 |