oci_golden_gate_deployment

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

Creates a new Deployment.

Example Usage

resource "oci_golden_gate_deployment" "test_deployment" {
    #Required
    compartment_id = var.compartment_id
    cpu_core_count = var.deployment_cpu_core_count
    deployment_type = var.deployment_deployment_type
    display_name = var.deployment_display_name
    is_auto_scaling_enabled = var.deployment_is_auto_scaling_enabled
    license_model = var.deployment_license_model
    subnet_id = oci_core_subnet.test_subnet.id

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    deployment_backup_id = oci_golden_gate_deployment_backup.test_deployment_backup.id
    description = var.deployment_description
    fqdn = var.deployment_fqdn
    freeform_tags = {"bar-key"= "value"}
    is_public = var.deployment_is_public
    load_balancer_subnet_id = oci_core_subnet.test_subnet.id
    maintenance_configuration {

        #Optional
        bundle_release_upgrade_period_in_days = var.deployment_maintenance_configuration_bundle_release_upgrade_period_in_days
        interim_release_upgrade_period_in_days = var.deployment_maintenance_configuration_interim_release_upgrade_period_in_days
        is_interim_release_auto_upgrade_enabled = var.deployment_maintenance_configuration_is_interim_release_auto_upgrade_enabled
        major_release_upgrade_period_in_days = var.deployment_maintenance_configuration_major_release_upgrade_period_in_days
        security_patch_upgrade_period_in_days = var.deployment_maintenance_configuration_security_patch_upgrade_period_in_days
    }
    maintenance_window {
        #Required
        day = var.deployment_maintenance_window_day
        start_hour = var.deployment_maintenance_window_start_hour
    }
    nsg_ids = var.deployment_nsg_ids
    ogg_data {
        #Required
        deployment_name = oci_golden_gate_deployment.test_deployment.name

        #Optional
        admin_password = var.deployment_ogg_data_admin_password
        admin_username = var.deployment_ogg_data_admin_username
        certificate = var.deployment_ogg_data_certificate
        credential_store = var.deployment_ogg_data_credential_store
        identity_domain_id = oci_identity_domain.test_domain.id
        key = var.deployment_ogg_data_key
        ogg_version = var.deployment_ogg_data_ogg_version
        password_secret_id = oci_vault_secret.test_secret.id
    }
    state = var.deployment_state
}

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

Import

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

$ terraform import oci_golden_gate_deployment.test_deployment "id"