Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Adding Role resource and RBAC grants #130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions redshift/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func validatePrivileges(privileges []string, objectType string) bool {
default:
return false
}
case "ROLE", "SYSTEM":
continue
default:
return false
}
Expand Down
1 change: 1 addition & 0 deletions redshift/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func Provider() *schema.Provider {
ResourcesMap: map[string]*schema.Resource{
"redshift_user": redshiftUser(),
"redshift_group": redshiftGroup(),
"redshift_role": redshiftRole(),
"redshift_schema": redshiftSchema(),
"redshift_default_privileges": redshiftDefaultPrivileges(),
"redshift_grant": redshiftGrant(),
Expand Down
Loading