google_alloydb_clusterNivis Nix constructor for the google_alloydb_cluster 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,
cluster_id,
location,
annotations ? null,
cluster_type ? null,
database_version ? null,
deletion_policy ? null,
deletion_protection ? null,
display_name ? null,
etag ? null,
id ? null,
labels ? null,
project ? null,
skip_await_major_version_upgrade ? null,
subscription_type ? null,
automated_backup_policy ? null,
continuous_backup_config ? null,
dataplex_config ? null,
encryption_config ? null,
initial_user ? null,
maintenance_update_policy ? null,
network_config ? null,
psc_config ? null,
restore_backup_source ? null,
restore_backupdr_backup_source ? null,
restore_backupdr_pitr_source ? null,
restore_continuous_backup_source ? null,
secondary_config ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cluster_idlocation
Optional arguments
annotations(defaults tonull)cluster_type(defaults tonull)database_version(defaults tonull)deletion_policy(defaults tonull)deletion_protection(defaults tonull)display_name(defaults tonull)etag(defaults tonull)id(defaults tonull)labels(defaults tonull)project(defaults tonull)skip_await_major_version_upgrade(defaults tonull)subscription_type(defaults tonull)automated_backup_policy(defaults tonull)continuous_backup_config(defaults tonull)dataplex_config(defaults tonull)encryption_config(defaults tonull)initial_user(defaults tonull)maintenance_update_policy(defaults tonull)network_config(defaults tonull)psc_config(defaults tonull)restore_backup_source(defaults tonull)restore_backupdr_backup_source(defaults tonull)restore_backupdr_pitr_source(defaults tonull)restore_continuous_backup_source(defaults tonull)secondary_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
backup_sourcebackupdr_backup_sourcecontinuous_backup_infoeffective_annotationseffective_labelsencryption_infomigration_sourcenamereconcilingstateterraform_labelstrial_metadatauid
Example
google_alloydb_cluster {
name = "alloydb_cluster";
cluster_id = …; # required
location = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.