#pr-reviews (2023-06)

Pull Request Reviews for Cloud Posse Projects

2023-06-01

Thomas Poetke avatar
Thomas Poetke

I have an option to the ALB module added: https://github.com/cloudposse/terraform-aws-alb/pull/143

#143 add xff_header_processing_mode option to alb

what

add xff_header_processing_mode option to alb

why

option is missing

1
1
Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Thomas Poetke we’ll review it

#143 add xff_header_processing_mode option to alb

what

add xff_header_processing_mode option to alb

why

option is missing

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Thomas Poetke there are comments to be addressed. Pls check

Thomas Poetke avatar
Thomas Poetke

I did, but precommit isnt working for me

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Max Lobur (Cloud Posse) any thoughts?

Max Lobur (Cloud Posse) avatar
Max Lobur (Cloud Posse)

Try make init make readme

1
Max Lobur (Cloud Posse) avatar
Max Lobur (Cloud Posse)

The errors you have are docs - this will re-generate you docs

Thomas Poetke avatar
Thomas Poetke

I resynced the fork, after https://github.com/cloudposse/terraform-aws-alb/pull/142 is merged , I will retry to do the pre commit

1
Thomas Poetke avatar
Thomas Poetke

thx @Max Lobur (Cloud Posse) for your help and the review!

1

2023-06-02

jose.amengual avatar
jose.amengual
#159 Adding external ENIs

what

Add the ability to add external ENIs to the instance

why

For ec2 instances deployments clusters where the IPs are required to be unique and not change it is necessary to create ENIs outside of this module so that the instance termination does not change the ENI and IP attached.

references

1
1
Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Max Lobur (Cloud Posse) @Andriy Knysh (Cloud Posse)

#159 Adding external ENIs

what

Add the ability to add external ENIs to the instance

why

For ec2 instances deployments clusters where the IPs are required to be unique and not change it is necessary to create ENIs outside of this module so that the instance termination does not change the ENI and IP attached.

references

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@jose.amengual we’ll review it

jose.amengual avatar
jose.amengual

thanks

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

@jose.amengual thank you for the PR, looks good. I left a few comments

jose.amengual avatar
jose.amengual

I will address them , Thanks!

2023-06-05

2023-06-06

2023-06-07

2023-06-08

2023-06-09

2023-06-10

2023-06-11

2023-06-12

2023-06-13

2023-06-14

2023-06-15

Hao Wang avatar
Hao Wang

Can someone review this PR? We found this is a valid one but not merged, https://github.com/cloudposse/terraform-aws-config/pull/44. Thanks!

#44 Fix subscriber input variable handlerattachment image

what

Adds a valid key of type string for sns subscriber handler

why

A recent commit adds defaults to subscriber input but also breaks any input on map key type:
image

Proposed fix tested with following input, pulled from cloudposse/terraform-aws-sns-topic:

locals {
  subscribers = {
    opsgenie = {
      protocol = "https"
      endpoint = "<https://api.example.com/v1/>"
      endpoint_auto_confirms = true
    }
  }
}

module "test" {
  source = "../terraform-aws-config"
  # Cloud Posse recommends pinning every module to a specific version
  # version     = "x.x.x"

  create_sns_topic = true
  create_iam_role  = true

  subscribers = local.subscribers
}

thanks

Thank you for these modules!

1
Linda Pham (Cloud Posse) avatar
Linda Pham (Cloud Posse)

@Hao Wang will have someone review

#44 Fix subscriber input variable handlerattachment image

what

Adds a valid key of type string for sns subscriber handler

why

A recent commit adds defaults to subscriber input but also breaks any input on map key type:
image

Proposed fix tested with following input, pulled from cloudposse/terraform-aws-sns-topic:

locals {
  subscribers = {
    opsgenie = {
      protocol = "https"
      endpoint = "<https://api.example.com/v1/>"
      endpoint_auto_confirms = true
    }
  }
}

module "test" {
  source = "../terraform-aws-config"
  # Cloud Posse recommends pinning every module to a specific version
  # version     = "x.x.x"

  create_sns_topic = true
  create_iam_role  = true

  subscribers = local.subscribers
}

thanks

Thank you for these modules!

Hao Wang avatar
Hao Wang

cool, thanks

Linda Pham (Cloud Posse) avatar
Linda Pham (Cloud Posse)

@Hao Wang, @Zinovii Dmytriv (Cloud Posse) merged the fix

1
Hao Wang avatar
Hao Wang

Thanks, @James A ^^^

2023-06-16

2023-06-19

2023-06-20

2023-06-21

2023-06-22

2023-06-25

Aleksandar Knezevic avatar
Aleksandar Knezevic
#243 * Fixed errors and warning messages about ELB Logs S3 bucket

what

• Introduces using cloudposse s3-bucket module for creating ALB logging bucket • Introducing new variable which defines if s3 logs for ALB is enabled or disabled (default is still true) • Adding random suffix to the name of logging bucket (since names of S3 must be globally unique - very often name provided in module is in collision with some already existed) • If created, S3 bucket for storing ALB access logs is encrypted by default

why

• This module not usable anymore due to deprecation message by terraform about s3 bucket (see #227 ) • Users of this module don’t always need access logs from Load Balancer n S3 bucket

references

• closes #227 • closes #226 • closes #206 • close #152

1
1
kevcube avatar
kevcube

maybe instead of S3 bucket module you should use this module https://github.com/cloudposse/terraform-aws-lb-s3-bucket

cloudposse/terraform-aws-lb-s3-bucket

Terraform module to provision an S3 bucket with built in IAM policy to allow AWS Load Balancers to ship access logs

Aleksandar Knezevic avatar
Aleksandar Knezevic

@kevcube Thank you for suggestion. PR is updated

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Aleksandar Knezevic Please see the new comments by Amdriy

Aleksandar Knezevic avatar
Aleksandar Knezevic

Thank you @Gabriela Campana (Cloud Posse) . PR is updated and ready for review.

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Andriy Knysh (Cloud Posse)

2023-06-26

kevcube avatar
kevcube

https://github.com/cloudposse/terraform-aws-lb-s3-bucket/pull/69

Ideally this can be rebased to 1.4.2

THEN please update this PR to the latest version of lb-s3-bucket (likely 0.19) https://github.com/cloudposse/terraform-aws-alb/pull/139

then finally I will update my PR and it can be merged https://github.com/cloudposse/terraform-aws-ecs-web-app/pull/189

1
Matt Gowie avatar
Matt Gowie

Working on these. Ping me if I don’t follow up

2023-06-28

2023-06-29

    keyboard_arrow_up