Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reserved instance multi_az setting #248

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

oycyc
Copy link
Contributor

@oycyc oycyc commented Dec 13, 2024

what

Using local.is_regional_cluster to determine whether or not it is Multi-AZ is not accurate. local.is_regional_cluster only checks if var.cluster_type == "regional", which determines if this is a regional vs global cluster

I could have a regional cluster, but it is NOT multi-az. One determining factor is how many instances in the cluster, if ever more than 1 in a single cluster, then it has to be in multiple AZs. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html

image

why

If I have a regional cluster, this thinks that it's ALWAYS multi-az, which is not true.

references

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html

@oycyc oycyc requested review from a team as code owners December 13, 2024 17:41
@oycyc oycyc requested review from Gowiem and nitrocode December 13, 2024 17:41
@mergify mergify bot added the triage Needs triage label Dec 13, 2024
@gberenice
Copy link

/terratest

@gberenice gberenice merged commit 4373b2b into cloudposse:main Dec 13, 2024
41 checks passed
@mergify mergify bot removed the triage Needs triage label Dec 13, 2024
Copy link

These changes were released in v1.16.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants