oci_golden_gate_database_registration

This resource provides the Database Registration resource in Oracle Cloud Infrastructure Golden Gate service.

Note: Deprecated. Use the /connections API instead. Creates a new DatabaseRegistration.

Example Usage

resource "oci_golden_gate_database_registration" "test_database_registration" {
    #Required
    alias_name = var.database_registration_alias_name
    compartment_id = var.compartment_id
    display_name = var.database_registration_display_name
    fqdn = var.database_registration_fqdn
    password = var.database_registration_password
    username = var.database_registration_username

    #Optional
    connection_string = var.database_registration_connection_string
    database_id = oci_database_database.test_database.id
    defined_tags = {"foo-namespace.bar-key"= "value"}
    description = var.database_registration_description
    freeform_tags = {"bar-key"= "value"}
    ip_address = var.database_registration_ip_address
    key_id = oci_kms_key.test_key.id
    secret_compartment_id = oci_identity_compartment.test_compartment.id
    session_mode = var.database_registration_session_mode
    subnet_id = oci_core_subnet.test_subnet.id
    vault_id = oci_kms_vault.test_vault.id
    wallet = var.database_registration_wallet
}

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 Database Registration * update - (Defaults to 20 minutes), when updating the Database Registration * delete - (Defaults to 20 minutes), when destroying the Database Registration

Import

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

$ terraform import oci_golden_gate_database_registration.test_database_registration "id"