google_spanner_instanceNivis Nix constructor for the google_spanner_instance resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
config,
display_name,
default_backup_schedule_type ? null,
deletion_policy ? null,
edition ? null,
force_destroy ? null,
id ? null,
instance_type ? null,
labels ? null,
cfg_name ? null,
num_nodes ? null,
processing_units ? null,
project ? null,
autoscaling_config ? null,
timeouts ? null,
overrides ? {}
}Required arguments
configdisplay_name
Optional arguments
default_backup_schedule_type(defaults tonull)deletion_policy(defaults tonull)edition(defaults tonull)force_destroy(defaults tonull)id(defaults tonull)instance_type(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)num_nodes(defaults tonull)processing_units(defaults tonull)project(defaults tonull)autoscaling_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
effective_labelsstateterraform_labels
Example
google_spanner_instance {
name = "spanner_instance";
config = …; # required
display_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.