google_sql_userNivis Nix constructor for the google_sql_user resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
instance,
database_roles ? null,
deletion_policy ? null,
host ? null,
id ? null,
cfg_name ? null,
password ? null,
password_wo ? null,
password_wo_version ? null,
project ? null,
type ? null,
password_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
instance
Optional arguments
database_roles(defaults tonull)deletion_policy(defaults tonull)host(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)password(defaults tonull)password_wo(defaults tonull)password_wo_version(defaults tonull)project(defaults tonull)type(defaults tonull)password_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
iam_emailsql_server_user_details
Example
google_sql_user {
name = "sql_user";
instance = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.