#pr-reviews (2023-11)

Pull Request Reviews for Cloud Posse Projects

2023-11-03

2023-11-06

jose.amengual avatar
jose.amengual

@Andriy Knysh (Cloud Posse) @Erik Osterman (Cloud Posse) https://github.com/cloudposse/terraform-aws-components/pull/898

#898 Adding Support for Child OUs

what

Add support for Child OUs

why

AWS well-architected framework recommends the creation of at least one level of Child OUs.

references

https://docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/workloads-ou.html

2
1
1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Dan Miller (Cloud Posse) @Ben Smith (Cloud Posse)

#898 Adding Support for Child OUs

what

Add support for Child OUs

why

AWS well-architected framework recommends the creation of at least one level of Child OUs.

references

https://docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/workloads-ou.html

2023-11-13

Andrew Tittle avatar
Andrew Tittle

Could I get some eyes on this PR? There’s some updates to the datadog provider for monitors I need access to. https://github.com/cloudposse/terraform-datadog-platform/pull/76 Let me know if I can help push that over the line somehow

#76 monitor: add new provider features

what

• add new provider features to datadog monitors

why

• we needed to use some of these, so while reviewing the datadog_monitor documentation I decided to make all of them available.

references

https://registry.terraform.io/providers/DataDog/datadog/3.21.0/docs/resources/monitor

1

2023-11-28

Kamil Grabowski avatar
Kamil Grabowski
#208 parametrize parameter_group_name

what

• Add redis family suffix to parameter group name • Add new variable parameter_group_name

why

This module doesn’t currently support major version upgrades of Redis (eg, 6.x to. 7.x) because:

• Parameter groups are major-version specific, so when a user changes var.family from redis6 to redis7, Terraform needs to create a new parameter group. Without create_before_destroy, Terraform tries to first destroy the old Param group which fails because it’s currently in use • Parameter groups must have unique names across families. When Terraform tries to create a new param group for redis7, it fails because it tries to do so using the same name as the old param group.

I have decided to add “redis cluster family” as a suffix. AWS follows a similar convention for default parameter groups, using names such as:

default.redis6.xdefault.redis7

Since using . is not possible, I have opted to use - instead.

To prevent any breaking changes, I have introduced a new variable called parameter_group_name. By setting this variable to the current parameter group name, you can prevent any terraform configuration drift.

references

Resolves #178

I see that other people tried to solve this problem before (see references), but the pull requests were not merged yet:

#159#189#201

1
    keyboard_arrow_up