Skip to content

Commit f801703

Browse files
authored
Merge pull request #52 from meltwater/hikerspath-patch-1
Proper Source Example in Readme
2 parents ee97aee + eea7c9c commit f801703

File tree

2 files changed

+27
-16
lines changed

2 files changed

+27
-16
lines changed

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
### Added
1010

11-
## [v2.1.5](https://github.com/meltwater/terraform-aws-asg-dns-handler/compare/v2.1.4...v2.1.5) - 2022-03-22
11+
## [v2.1.7](https://github.com/meltwater/terraform-aws-asg-dns-handler/compare/v2.1.6...v2.1.7) - 2022-03-22
1212

13-
- Updated Source Reference on the README.md for the Private Registry on app.terraform.io
13+
### Changed
1414

15-
- [#46](https://github.com/meltwater/terraform-aws-asg-dns-handler/pull/46) Create CHANGELOG.md
15+
- Updated readme for proper module calls from public registry
16+
17+
18+
## [v2.1.6](https://github.com/meltwater/terraform-aws-asg-dns-handler/compare/v2.1.5...v2.1.6) - 2022-03-22
1619

20+
### Changed
21+
22+
- Updated readme
23+
24+
## [v2.1.5](https://github.com/meltwater/terraform-aws-asg-dns-handler/compare/v2.1.4...v2.1.5) - 2022-03-22
1725

26+
- Updated Source Reference on the README.md for the Private Registry on app.terraform.io
1827

28+
- [#46](https://github.com/meltwater/terraform-aws-asg-dns-handler/pull/46) Create CHANGELOG.md
1929

2030
## [v2.1.4](https://github.com/meltwater/terraform-aws-asg-dns-handler/compare/v2.1.3...v2.1.4) - 2022-03-04
2131

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
[![Build Status](https://cloud.drone.io/api/badges/meltwater/terraform-aws-asg-dns-handler/status.svg)](https://cloud.drone.io/meltwater/terraform-aws-asg-dns-handler)
2-
3-
# ASG DNS handler
4-
5-
## Purpose
1+
# ASG DNS handler | [![Build Status](https://cloud.drone.io/api/badges/meltwater/terraform-aws-asg-dns-handler/status.svg)](https://cloud.drone.io/meltwater/terraform-aws-asg-dns-handler)
62

73
This Terraform module sets up everything necessary for dynamically setting hostnames following a certain pattern on instances spawned by AWS Auto Scaling Groups (ASGs).
84

95
Learn more about our motivation to build this module in our blog post [Dynamic Route53 records for AWS Auto Scaling Groups with Terraform](https://underthehood.meltwater.com/blog/2020/02/07/dynamic-route53-records-for-aws-auto-scaling-groups-with-terraform/).
106

7+
## Maintainers
8+
9+
This repository and the module it houses are maintained Foundation Missions A-Team. Should you encounter issues or require changes to code maintained in this repository, please reachout through an issue that is part of this project.
10+
1111
## Requirements
1212

13-
- [Terraform](https://www.terraform.io/downloads.html) 0.12+
14-
- [Terraform AWS provider](https://github.com/terraform-providers/terraform-provider-aws) 2.0+
13+
- [Terraform](https://www.terraform.io/downloads.html) 0.12+ and [Terraform AWS provider](https://github.com/terraform-providers/terraform-provider-aws) 2.0+ use v2+ releases
14+
- [Terraform](https://www.terraform.io/downloads.html) 0.11 and below, [Terraform AWS provider](https://github.com/terraform-providers/terraform-provider-aws) 2.0.14 and below use v1.x releases
1515

16-
## Usage
16+
## How do I use it?
1717

1818
Create an ASG and set the `asg:hostname_pattern` tag for example like this:
1919

@@ -36,8 +36,9 @@ tag {
3636
Once you have your ASG set up, you can just invoke this module and point to it:
3737
```hcl
3838
module "clever_name_autoscale_dns" {
39-
source = registry.terraform.io/modules/meltwater/asg-dns-handler/aws/latest"
40-
version = "2.1.6"
39+
source = meltwater/asg-dns-handler/aws"
40+
version = "~> 2.0"
41+
4142
# use_public_ip = true
4243
autoscale_handler_unique_identifier = "clever_name"
4344
autoscale_route53zone_arn = "ABCDEFGHIJ123"
@@ -113,16 +114,16 @@ resource "aws_autoscaling_group" "my_asg" {
113114
}
114115
115116
module "autoscale_dns" {
116-
source = registry.terraform.io/modules/meltwater/asg-dns-handler/aws/latest"
117-
version = "2.1.6"
117+
source = "meltwater/asg-dns-handler/aws"
118+
version = "2.1.7"
118119
119120
autoscale_handler_unique_identifier = "my_asg_handler"
120121
autoscale_route53zone_arn = var.internal_zone_id
121122
vpc_name = var.vpc_name
122123
}
123124
```
124125

125-
## Contributing
126+
## Developers Guide / Contributing
126127

127128
Please read [CONTRIBUTING.md](CONTRIBUTING.md) to understand how to submit pull requests to us, and also see our [Code of Conduct](CODE_OF_CONDUCT.md).
128129

0 commit comments

Comments
 (0)