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

feat: Add PostgreSQL support #54

Merged
merged 2 commits into from
Jan 11, 2024
Merged

feat: Add PostgreSQL support #54

merged 2 commits into from
Jan 11, 2024

Conversation

shoekstra
Copy link
Member

Using PostgreSQL with this module was always possible but required overriding defaults as this module was geared towards MySQL as a default.

Noticeable changes:

  • var.engine is now required and only allows mysql or postgresql as these are the only two Aurora types
  • Other variables that defaulted to MySQL values have been removed and replaced with a default per engine and allow overriding using the user facing variable (e.g. master_username defaults to an engine specific value whilst still letting the user set their own if they so desire)
  • Added more variable validation

Signed-off-by: Stephen Hoekstra [email protected]

Copy link
Contributor

github-actions bot commented Jan 10, 2024

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Lint 📖success

Terraform Validation 🤖success

Validation Output


Warning: Argument is deprecated

  with module.vpc.aws_eip.nat,
  on .terraform/modules/vpc/main.tf line 1044, in resource "aws_eip" "nat":
1044:   vpc = true

use domain attribute instead
Success! The configuration is valid, but there were some validation warnings
as shown above.


@shoekstra shoekstra changed the title Add PostgreSQL support feat: Add PostgreSQL support Jan 10, 2024
@shoekstra shoekstra added the feature New feature or request label Jan 10, 2024
Using PostgreSQL with this module was always possible but required
overriding defaults as this module was geared towards MySQL as a
default.

Noticeable changes:

* `var.engine` is now required and only allows `mysql` or `postgresql`
  as these are the only two Aurora types
* Other variables that defaulted to MySQL values have been removed and
  replaced with a default per engine and allow overriding using the user
  facing variable (e.g. `master_username` defaults to an engine specific
  value whilst still letting the user set their own if they so desire)
* Added more variable validation

Signed-off-by: Stephen Hoekstra <[email protected]>
@shoekstra shoekstra force-pushed the add_postgres_support branch from 743b260 to e6ab10b Compare January 10, 2024 13:47
@shoekstra shoekstra merged commit 63bc7af into master Jan 11, 2024
@shoekstra shoekstra deleted the add_postgres_support branch January 11, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants