Skip to content

Releases: cloudposse/terraform-aws-alb

0.7.0 Convert to TF 0.12. Add tests. Add Codefresh test pipeline

29 Oct 01:44
122667e
Compare
Choose a tag to compare

what

  • Port module to Terraform 0.12
  • Pin all providers
  • Add example for testing
  • Add bats and terratest for the example
  • Add Codefresh badge to point to the test pipeline in terraform-modules project
  • Update README

why

  • Module currently does not work with 0.12. Much easier syntax
  • Better regression control
  • Automatically test the example on every commit and pull request
  • Provision resources on AWS in the test account and check the outputs for the correct values
  • terraform-modules project contains pipelines for all terraform modules

related

test

TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:                                                                                                                                
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: Outputs:                                                                                                                       
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:                                                                                                                                
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: access_logs_bucket_id = eg-test-alb-alb-access-logs                                                                            
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: alb_arn = arn:aws:elasticloadbalancing:us-east-2:126450723953:loadbalancer/app/eg-test-alb/b92e250a8b058197                    
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: alb_arn_suffix = app/eg-test-alb/b92e250a8b058197                                                                              
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: alb_dns_name = eg-test-alb-156051963.us-east-2.elb.amazonaws.com                                                               
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: alb_name = eg-test-alb                                                                                                         
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: alb_zone_id = Z3AADJGX6KTTL2                                                                                                   
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: default_target_group_arn = arn:aws:elasticloadbalancing:us-east-2:126450723953:targetgroup/eg-test-alb-default/32409af35000497b
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: http_listener_arn = arn:aws:elasticloadbalancing:us-east-2:126450723953:listener/app/eg-test-alb/b92e250a8b058197/9474dbfc7fa05
4d3                                                                                                                                                                                      
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: listener_arns = [                                                                                                              
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:   "arn:aws:elasticloadbalancing:us-east-2:126450723953:listener/app/eg-test-alb/b92e250a8b058197/9474dbfc7fa054d3",            
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: ]                                                                                                                              
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: private_subnet_cidrs = [                                                                                                       
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:   "172.16.0.0/19",                                                                                                             
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:   "172.16.32.0/19",                                                                                                            
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: ]                                                                                                                              
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: public_subnet_cidrs = [                                                                                                        
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:   "172.16.96.0/19",                                                                                                            
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121:   "172.16.128.0/19",                                                                                                           
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: ]                                                                                                                              
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: security_group_id = sg-074013d30de787a58                                                                                       
TestExamplesComplete 2019-10-28T20:50:49Z command.go:121: vpc_cidr = 172.16.0.0/16                                                                                                       

0.6.0 Allow customizing the default target group name, target type, and tags

18 Oct 04:10
Compare
Choose a tag to compare

what

  • Allow customizing the default target group name, target type, and tags

why

  • This adds 3 new variables (with original defaults to maintain backwards compatibility with older module versions) to the default target group:
  1. target_group_name - allows specifying a more descriptive custom name for the default target group (while still preserving the naming scheme for the actual ALB)
  2. target_group_target_type - AWS has three options for target group types, this allows for specifying an option other than the hardcoded ip
  3. target_group_tags - before this change, the default target group did not have its tags set by the module. This updates it to either optionally pass in your own set of tags or use the tags passed in to the module that are also applied to the ALB

0.5.0

15 Jul 23:45
Compare
Choose a tag to compare
Added var for SSL policy changes (#23)

0.4.0 Add variable for the default target group port

21 Jun 04:22
Compare
Choose a tag to compare

what

  • Add variable for the default target group port

why

  • Enable the option to specify the default target group port in the cases that the service does not listen on port 80

0.3.0 Add `alb_access_logs_s3_bucket_force_destroy` variable. Update `access_logs` module's `attributes`

25 May 20:54
50327a1
Compare
Choose a tag to compare

what

  • Update terraform-aws-lb-s3-bucket module
  • Add alb_access_logs_s3_bucket_force_destroy variable
  • Update access_logs module's attributes

why

  • To be able to force-destroy the bucket without manually deleting the objects from it
  • To make the name of the access logs bucket more descriptive: namespace-stage-name-alb-access-logs instead of just namespace-stage-name

0.2.6: Remove the brackets `listener_arns` to correct count (#13)

28 Sep 05:49
Compare
Choose a tag to compare
Remove the brackets `listener_arns` to correct count

Regenerate README.md

27 Jul 14:13
ab72d4c
Compare
Choose a tag to compare

what

  • Regenerate README.md

why

  • Previous version of build-harness has some typos

Fix readme

10 Jul 14:05
ef34e02
Compare
Choose a tag to compare
  • Fix avatars links
  • Fix link on badge release

0.2.3: Readme.yaml - fix avatars links

05 Jul 12:40
a02a7c1
Compare
Choose a tag to compare

what

  • Remove home pages and avatars links

why

  • Build-harness does it automatically

Add ALB name and arn_suffix as outputs

29 Jun 19:26
d046075
Compare
Choose a tag to compare
0.2.2

expose alb name as output (#5)