google_spanner_databaseNivis Nix constructor for the google_spanner_database 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_dialect ? null,
ddl ? null,
default_time_zone ? null,
deletion_policy ? null,
deletion_protection ? null,
enable_drop_protection ? null,
id ? null,
cfg_name ? null,
project ? null,
version_retention_period ? null,
encryption_config ? null,
timeouts ? null,
overrides ? {}
}Required arguments
instance
Optional arguments
database_dialect(defaults tonull)ddl(defaults tonull)default_time_zone(defaults tonull)deletion_policy(defaults tonull)deletion_protection(defaults tonull)enable_drop_protection(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)version_retention_period(defaults tonull)encryption_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
state
Example
google_spanner_database {
name = "spanner_database";
instance = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.