oci_golden_gate_deployment_backup

This resource provides the Deployment Backup resource in Oracle Cloud Infrastructure Golden Gate service.

Creates a new DeploymentBackup.

Example Usage

resource "oci_golden_gate_deployment_backup" "test_deployment_backup" {
	#Required
	bucket = var.deployment_backup_bucket
	compartment_id = var.compartment_id
	deployment_id = oci_golden_gate_deployment.test_deployment.id
	display_name = var.deployment_backup_display_name
	namespace = var.deployment_backup_namespace
	object = var.deployment_backup_object

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	locks {
		#Required
		type = var.deployment_backup_locks_type

		#Optional
		message = var.deployment_backup_locks_message
	}
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Deployment Backup * update - (Defaults to 20 minutes), when updating the Deployment Backup * delete - (Defaults to 20 minutes), when destroying the Deployment Backup

Import

DeploymentBackups can be imported using the id, e.g.

$ terraform import oci_golden_gate_deployment_backup.test_deployment_backup "id"