Skip to content

Releases: cloudposse-terraform-components/aws-aurora-postgres

v1.540.0

19 Sep 02:44
922d123
Compare
Choose a tag to compare
feat: expose restore_to_point_in_time var @wavemoran (#56) ## what * Exposes the underlying module variable `restore_to_point_in_time`

why

  • We would like to use this variable/feature from the underlying aws-rds-cluster module

references

🚀 Enhancements

chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#52) Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.11 to 0.5.14.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#57) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#55) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#52) Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.11 to 0.5.14.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

v1.539.0

04 Sep 19:36
95e129c
Compare
Choose a tag to compare
feat: expose security group ID for Aurora Postgres cluster @milldr (#53) ## what - Add security_group_id output to expose the security group ID from the underlying RDS cluster module

why

  • This enables proper configuration of inbound and outbound traffic rules for ECS services

references

.

Summary by CodeRabbit

  • New Features
    • Added a new Terraform output that exposes the security group ID of the Aurora Postgres cluster. This makes it easier to reference the cluster’s security group in downstream configurations (e.g., networking rules or integrations). No changes to existing outputs or behavior.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#54) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.538.4

28 Aug 15:55
7b9435d
Compare
Choose a tag to compare
feat: expose additional DNS outputs @Benbentwo (#50) ## Summary - expose instance and reader/cluster endpoint outputs - document new DNS outputs in README

Testing

  • atmos docs generate readme
  • atmos docs generate readme-simple
  • pre-commit run --files README.md src/README.md src/outputs.tf (fails: "iam_roles" module is not found)

https://chatgpt.com/codex/tasks/task_b_68b049e0d0fc832b9f6a2872e4f16a56

Summary by CodeRabbit

  • New Features

    • Added a new input: promotion_tier (number, default 0) to control per-instance failover priority.
    • Added three outputs: cluster_endpoint, reader_endpoint, and instance_endpoints for direct access to Aurora Postgres endpoints.
  • Documentation

    • Updated README Inputs and Outputs sections with descriptions for the new input and outputs.
    • Removed a trailing branding line for a cleaner README.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#51) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

Update README.yaml with AI @goruha (#49) ## what - Update README.yaml

why

  • Use atmos to generate readme
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#48) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.42.0 @[renovate[bot]](https://github.com/apps/renovate) (#47) This PR contains the following updates:
Package Type Update Change
terraform-linters/tflint-ruleset-aws plugin minor 0.41.0 -> 0.42.0

Release Notes

terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)

v0.42.0

Compare Source

What's Changed

Breaking Changes
Chores

Full Changelog: terraform-linters/tflint-ruleset-aws@v0.41.0...v0.42.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

chore(deps): update tflint plugin terraform-linters/tflint-ruleset-aws to v0.41.0 @[renovate[bot]](https://github.com/apps/renovate) (#46) This PR contains the following updates:
Package Type Update Change
terraform-linters/tflint-ruleset-aws plugin minor 0.40.0 -> 0.41.0

Release Notes

terraform-linters/tflint-ruleset-aws (terraform-linters/tflint-ruleset-aws)

v0.41.0

Compare Source

What's Changed

Breaking Changes
Enhancements
Chores
Read more

v1.538.3

26 Jun 19:30
df142d0
Compare
Choose a tag to compare
chore(deps): restrict aws provider version to < 6.0.0 @Benbentwo (#43) This pull request includes a version constraint update for the AWS provider in the Terraform configuration file `src/versions.tf`. The change ensures compatibility with versions up to but not including 6.0.0.
  • src/versions.tf: Updated the version constraint for the aws provider to >= 4.9.0, < 6.0.0 to ensure compatibility with future versions while avoiding potential breaking changes in version 6.0.0.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#44) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.538.2

03 Jun 17:04
3fc4550
Compare
Choose a tag to compare

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#42) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.538.1

03 Jun 15:10
6933176
Compare
Choose a tag to compare

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#41) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.538.0

03 Jun 13:14
186d704
Compare
Choose a tag to compare
Setting renew @goruha (#34) ## what * Setting renew

why

  • Create merge queue

Summary by CodeRabbit

  • Style
    • Removed unnecessary blank lines from repository settings configuration.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#40) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

chore(deps): update terraform cloudposse/rds-cluster/aws to v1.18.0 @[renovate[bot]](https://github.com/apps/renovate) (#4) This PR contains the following updates:
Package Type Update Change
cloudposse/rds-cluster/aws (source) module minor 1.3.2 -> 1.18.0

Release Notes

cloudposse/terraform-aws-rds-cluster (cloudposse/rds-cluster/aws)

v1.18.0

Compare Source

fix: Add perfomance inside to primary cluster @​djakielski (#​250)

what

  • Add performace inside config also on primary cluster

why

  • had issues with incompatible cluster and instance parameter
  • you can enable performance inside on cluster

references

v1.17.0

Compare Source

fix: reserved instances, aurora rds specifics @​oycyc (#​249)

what

RDS Reserved Instances multi AZ mode is never available for Aurora engines, see images on the console - this PR checks to ensure that it is set to false if the engine is Aurora:
image
image

why

That configuration isn't really applicable anyways since this statement from the AWS docs https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithReservedDBInstances.html:
image

references

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithReservedDBInstances.html

v1.16.0

Compare Source

fix: reserved instance multi_az setting @​oycyc (#​248)

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

v1.15.1

Compare Source

🚀 Enhancements

fix: reserved instances restrictions @​oycyc (#​244)

what

This conditional check on whether or not to enable reserved instances is too restrictive. contains(["mysql", "postgresql"], local.reserved_instance_engine) is saying that only allow it if it is MySQL or PostgreSQL.

I think contains was originally meant to be like in the literal sense of "contains". Since in my case, I'm using aurora-postgresql, and it fails this check, yet it is one of the options for reserved instances.

why

endswith might be better, but it is TOO restrictive, seeing that there's so many options.
image
Additionally, Terraform will fail if user specifies the wrong engine type. There's no need for this check.

image

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/rds_reserved_instance_offering

🐛 Bug Fixes

fix: reserved instances restrictions @​oycyc (#​244)

what

This conditional check on whether or not to enable reserved instances is too restrictive. contains(["mysql", "postgresql"], local.reserved_instance_engine) is saying that only allow it if it is MySQL or PostgreSQL.

I think contains was originally meant to be like in the literal sense of "contains". Since in my case, I'm using aurora-postgresql, and it fails this check, yet it is one of the options for reserved instances.

why

endswith might be better, but it is TOO restrictive, seeing that there's so many options.
image
Additionally, Terraform will fail if user specifies the wrong engine type. There's no need for this check.

image

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/rds_reserved_instance_offering

v1.15.0

Compare Source

🚀 Enhancements

  • Implement and close #​237 (add option for local write forwarding) Thank you @​Junaid-Tem
  • Implement and close #​239 (allow the configuration of reservation_id for aws_rds_reserved_instance) Thank you @​oycyc

🐛 Bug Fixes

Multiple cleanu...
Read more

v1.537.0

11 Mar 16:26
4e2c127
Compare
Choose a tag to compare
fix: update legacy splat operator @RoseSecurity (#23) ## what
  • Updated the syntax for accessing elements in a list from data.aws_iam_policy_document.kms_key_rds.*.json to data.aws_iam_policy_document.kms_key_rds[*].json.

why

  • Enhance code consistency by addressing TFLint errors
  • *. (splat operator) is an older syntax that returns a list but is not always well-typed. The newer explicit splat syntax is more consistent and predictable when accessing lists

references

Summary by CodeRabbit

  • Chores
    • Refined internal configuration handling to align with current Terraform standards.
    • The update enhances code maintainability without altering any user-visible functionality.

v1.536.1

20 Feb 02:14
d573e65
Compare
Choose a tag to compare
Added tests @goruha (#20) ## what * Added tests

Summary by CodeRabbit

  • New Features

    • Introduced dynamic selection of network subnets based on accessibility.
    • Added new configuration files to enhance infrastructure management for VPC, DNS, and Aurora PostgreSQL deployments (basic, serverless, and disabled).
    • Expanded CLI and vendor management configurations.
  • Chores

    • Updated scaling parameters for Aurora PostgreSQL.
    • Upgraded module versions and refined dependency management.
    • Streamlined file tracking by revising ignore rules and removing an obsolete test script.
    • Added .cache to .gitignore to prevent tracking of cache files.
  • Tests

    • Added a comprehensive test suite validating various deployment scenarios.

🤖 Automatic Updates

Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#22) ## what This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v1.536.0

07 Jan 12:04
4ddd5d2
Compare
Choose a tag to compare
fix: Replace deprecated splat expression with [*] for Terraform 1.5.6… @sushmithakumar (#19) ## Terraform 0.12.0+ Splat Operator Updates ## What Updated Terraform configuration to replace legacy splat syntax

(resource.*.attribute)

with modern bracket-based expressions (resource[*].attribute).
Incorporated for expressions where applicable to improve flexibility and readability.
No functional changes to infrastructure; these updates are syntax improvements.

Why

Aligns with Terraform 0.12.0+ enhancements and first-class expression support.
Improves readability and maintainability of Terraform code.
Prevents potential deprecation warnings by replacing outdated syntax.

References

Terraform v0.12.0 Upgrade Guide

Summary by CodeRabbit

Summary by CodeRabbit

  • Chores
    • Updated the method of constructing identifiers for IAM policy documents to ensure correct value retrieval and formatting.