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

Add postgresql_grant_role resource #4

Merged
merged 22 commits into from
Dec 21, 2020

Conversation

dvdliao
Copy link
Contributor

@dvdliao dvdliao commented Nov 22, 2020

@cyrilgdn
Copy link
Owner

@dvdliao Thanks for recreating it here, Hashicorp should have migrated the PRs & issues of the old repository but as it's still not the case we'll use this one.

I'll take a look this week-end. Could you just rebase on master? I fixed the Travis build so it should pass now.

@cyrilgdn cyrilgdn self-requested a review November 27, 2020 08:23
@dvdliao
Copy link
Contributor Author

dvdliao commented Nov 30, 2020

@cyrilgdn done. thanks!

Copy link
Owner

@cyrilgdn cyrilgdn left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your work on this 👍 , and really sorry for the response delay.

Could you just remove the errwrap dependency (cf comment) and it's good for me.
(Other comments are not mandatory)

postgresql/resource_postgresql_grant_role.go Outdated Show resolved Hide resolved
postgresql/resource_postgresql_grant_role.go Outdated Show resolved Hide resolved

~> **Note:** This resource needs PostgreSQL version 9 or above.

~> **Note:** `postgresql_grant_role` **cannot** be used in conjunction with `postgresql_role` or they will fight over what your role grants should be.
Copy link
Owner

Choose a reason for hiding this comment

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

Nice 👍 I encountered this conflict during my test and I was about to say that we need that we need to add this warning but you already added it 😊

postgresql/resource_postgresql_grant_role_test.go Outdated Show resolved Hide resolved
@cyrilgdn cyrilgdn added this to the 1.9.0 milestone Dec 12, 2020
@cyrilgdn cyrilgdn mentioned this pull request Dec 12, 2020
@dvdliao
Copy link
Contributor Author

dvdliao commented Dec 14, 2020

@cyrilgdn done and thanks!

@dvdliao
Copy link
Contributor Author

dvdliao commented Dec 14, 2020

@cyrilgdn done

Copy link
Owner

@cyrilgdn cyrilgdn left a comment

Choose a reason for hiding this comment

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

Thanks a lot 👍

@cyrilgdn cyrilgdn merged commit 41ce722 into cyrilgdn:master Dec 21, 2020
@dvdliao
Copy link
Contributor Author

dvdliao commented Dec 21, 2020

hey @cyrilgdn any idea when a release will be cut? i see the milestone as completed https://github.com/cyrilgdn/terraform-provider-postgresql/milestone/2?closed=1

@cyrilgdn
Copy link
Owner

@dvdliao FYI, this has just been released in v1.9.0.

wilsonjackson referenced this pull request in Leafly-com/terraform-provider-postgresql Jan 6, 2023
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.

Data sources for roles
3 participants