early-account-23166
10/18/2022, 9:17 AMGRANT SELECT ON ALL TABLES IN SCHEMA dbtest.schema1 TO ROLE role_name;
.
But in pulumi-snowflake, it seems to be no way to do such thing. TableGrant
as below:
def TableGrant(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
enable_multiple_grants: Optional[bool] = None,
on_future: Optional[bool] = None,
privilege: Optional[str] = None,
roles: Optional[Sequence[str]] = None,
schema_name: Optional[str] = None,
shares: Optional[Sequence[str]] = None,
table_name: Optional[str] = None,
with_grant_option: Optional[bool] = None)
table_name
type is string, accepting only one table at a TableGrant
call.
Is there a way to grant privilege on ALL tables to role in pulumi-snowflake?
Thank you.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by