google_backup_dr_backup_planNivis Nix constructor for the google_backup_dr_backup_plan 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,
backup_plan_id,
backup_vault,
location,
resource_type,
deletion_policy ? null,
description ? null,
id ? null,
labels ? null,
log_retention_days ? null,
max_custom_on_demand_retention_days ? null,
project ? null,
backup_rules ? null,
compute_instance_backup_plan_properties ? null,
disk_backup_plan_properties ? null,
timeouts ? null,
overrides ? {}
}Required arguments
backup_plan_idbackup_vaultlocationresource_type
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)log_retention_days(defaults tonull)max_custom_on_demand_retention_days(defaults tonull)project(defaults tonull)backup_rules(defaults tonull)compute_instance_backup_plan_properties(defaults tonull)disk_backup_plan_properties(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
backup_vault_service_accountcreate_timeeffective_labelsnamesupported_resource_typesterraform_labelsupdate_time
Example
google_backup_dr_backup_plan {
name = "backup_dr_backup_plan";
backup_plan_id = …; # required
backup_vault = …; # required
location = …; # required
resource_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.