Skip to content

Add postgresql_grant_role resource #4

Merged
cyrilgdn merged 22 commits intocyrilgdn:masterfrom
dvdliao:add-grant-role-resource
Dec 21, 2020
Merged

Add postgresql_grant_role resource #4
cyrilgdn merged 22 commits intocyrilgdn:masterfrom
dvdliao:add-grant-role-resource

Conversation

@dvdliao
Copy link
Copy Markdown
Contributor

@dvdliao dvdliao commented Nov 22, 2020

@cyrilgdn
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

dvdliao commented Nov 30, 2020

@cyrilgdn done. thanks!

Copy link
Copy Markdown
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)

Comment thread postgresql/resource_postgresql_grant_role.go Outdated
Comment thread postgresql/resource_postgresql_grant_role.go Outdated

~> **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
Copy Markdown
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 😊

Comment thread postgresql/resource_postgresql_grant_role_test.go Outdated
Comment thread postgresql/resource_postgresql_grant_role_test.go
@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
Copy Markdown
Contributor Author

dvdliao commented Dec 14, 2020

@cyrilgdn done and thanks!

Comment thread postgresql/resource_postgresql_grant_role_test.go Outdated
@dvdliao
Copy link
Copy Markdown
Contributor Author

dvdliao commented Dec 14, 2020

@cyrilgdn done

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
martimarkov pushed a commit to martimarkov/terraform-provider-postgresql that referenced this pull request Mar 4, 2026
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