fpco / terraform-aws-foundation

Establish a solid Foundation on AWS with these modules for Terraform
MIT License
203 stars 99 forks source link

A few changes to (mostly) single-node-asg module. #301

Closed Magicloud closed 4 years ago

Magicloud commented 4 years ago

While making confluence example, a few changes are needed:

Enable attach ELB to single node ASG. single-node-asg does not take ELB target group yet.

Remove dependency of Ubuntu on single-node-asg EBS attaching script. ec2metadata command exists only in Ubuntu AMI, and latest version for CentOS from AWS, not only has different name, but also output differently. So using raw http request to get rid of it.

Ensure EBS attachment ends up the device name we want.

Module/single-node-asg: Output attached data volume tag value "Name" so DLM can match the tag to manage the snapshots.


name: Pull request template about: Make a PR to terraform-aws-foundation

Please include the following in your PR:

Please also note that these are not hard requirements, but merely serve to define what maintainers are looking for in PR's. Including these will more likely lead to your PR being reviewed and accepted.

Magicloud commented 4 years ago

@ketzacoatl Fixed.