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(rds): support 's3export' for Postgres database instances #16124

Merged
merged 7 commits into from
Aug 25, 2021
Merged

feat(rds): support 's3export' for Postgres database instances #16124

merged 7 commits into from
Aug 25, 2021

Conversation

kaizencc
Copy link
Contributor

@kaizencc kaizencc commented Aug 18, 2021

As mentioned in #14546, Postgres database instances did not support s3export when most of the s3 import/export features were added in #10370. This PR fills in that gap now that s3export is available for Postgres.

The supported versions are documented here and I manually verified via AWS CLI that Postgres 13+ supports s3export as well.

Looking into the test suite, I think it makes more sense to modify the existing test than to create an entirely new one, similar to how other database instances test s3 import/export at the same time. But I can also move it to its own test if necessary.

I also fixed a very minor doc typo in cluster-instance.ts.

Closes #14546.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Aug 18, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 18, 2021
@kaizencc kaizencc self-assigned this Aug 18, 2021
@kaizencc kaizencc requested a review from BenChaimberg August 18, 2021 22:42
@BenChaimberg BenChaimberg added @aws-cdk/aws-rds Related to Amazon Relational Database pr/do-not-merge This PR should not be merged at this time. labels Aug 25, 2021
Copy link
Contributor

@BenChaimberg BenChaimberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Letting @skinny85 take a final look, now that he's back from vacation

packages/@aws-cdk/aws-rds/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-rds/README.md Outdated Show resolved Hide resolved
Co-authored-by: Ben Chaimberg <youppi3@gmail.com>
@kaizencc kaizencc requested a review from skinny85 August 25, 2021 16:37
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @kaizen3031593!

@BenChaimberg BenChaimberg removed the pr/do-not-merge This PR should not be merged at this time. label Aug 25, 2021
@mergify
Copy link
Contributor

mergify bot commented Aug 25, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 97ff824
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 1d54a45 into aws:master Aug 25, 2021
@mergify
Copy link
Contributor

mergify bot commented Aug 25, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
)

As mentioned in aws#14546, Postgres database instances did not support `s3export` when most of the `s3 import/export` features were added in aws#10370. This PR fills in that gap now that `s3export` is [available](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) for Postgres.

The supported versions are documented [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) and I manually verified via AWS CLI that Postgres 13+ supports `s3export` as well.

Looking into the test suite, I think it makes more sense to modify the existing test than to create an entirely new one, similar to how other database instances test s3 import/export at the same time. But I can also move it to its own test if necessary.

I also fixed a very minor doc typo in `cluster-instance.ts`.

Closes aws#14546. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Sep 6, 2021
)

As mentioned in aws#14546, Postgres database instances did not support `s3export` when most of the `s3 import/export` features were added in aws#10370. This PR fills in that gap now that `s3export` is [available](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) for Postgres.

The supported versions are documented [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) and I manually verified via AWS CLI that Postgres 13+ supports `s3export` as well.

Looking into the test suite, I think it makes more sense to modify the existing test than to create an entirely new one, similar to how other database instances test s3 import/export at the same time. But I can also move it to its own test if necessary.

I also fixed a very minor doc typo in `cluster-instance.ts`.

Closes aws#14546. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
david-doyle-as24 pushed a commit to david-doyle-as24/aws-cdk that referenced this pull request Sep 7, 2021
)

As mentioned in aws#14546, Postgres database instances did not support `s3export` when most of the `s3 import/export` features were added in aws#10370. This PR fills in that gap now that `s3export` is [available](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) for Postgres.

The supported versions are documented [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/postgresql-s3-export.html) and I manually verified via AWS CLI that Postgres 13+ supports `s3export` as well.

Looking into the test suite, I think it makes more sense to modify the existing test than to create an entirely new one, similar to how other database instances test s3 import/export at the same time. But I can also move it to its own test if necessary.

I also fixed a very minor doc typo in `cluster-instance.ts`.

Closes aws#14546. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@kaizencc kaizencc deleted the postgres-export-2 branch September 9, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-rds Related to Amazon Relational Database contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDS: S3 export for Postgres database instances
4 participants