oci_fusion_apps_fusion_environment

This resource provides the Fusion Environment resource in Oracle Cloud Infrastructure Fusion Apps service.

Creates a new FusionEnvironment.

Example Usage

resource "oci_fusion_apps_fusion_environment" "test_fusion_environment" {
    #Required
    compartment_id = var.compartment_id
    create_fusion_environment_admin_user_details {
        #Required
        email_address = var.fusion_environment_create_fusion_environment_admin_user_details_email_address
        first_name = var.fusion_environment_create_fusion_environment_admin_user_details_first_name
        last_name = var.fusion_environment_create_fusion_environment_admin_user_details_last_name
        password = var.fusion_environment_create_fusion_environment_admin_user_details_password
        username = var.fusion_environment_create_fusion_environment_admin_user_details_username
    }
    display_name = var.fusion_environment_display_name
    fusion_environment_family_id = oci_fusion_apps_fusion_environment_family.test_fusion_environment_family.id
    fusion_environment_type = var.fusion_environment_fusion_environment_type

    #Optional
    additional_language_packs = var.fusion_environment_additional_language_packs
    defined_tags = {"foo-namespace.bar-key"= "value"}
    dns_prefix = var.fusion_environment_dns_prefix
    freeform_tags = {"bar-key"= "value"}
    kms_key_id = oci_kms_key.test_key.id
    maintenance_policy {

        #Optional
        environment_maintenance_override = var.fusion_environment_maintenance_policy_environment_maintenance_override
        monthly_patching_override = var.fusion_environment_maintenance_policy_monthly_patching_override
    }
    rules {
        #Required
        action = var.fusion_environment_rules_action
        conditions {
            #Required
            attribute_name = var.fusion_environment_rules_conditions_attribute_name
            attribute_value = var.fusion_environment_rules_conditions_attribute_value
        }

        #Optional
        description = var.fusion_environment_rules_description
    }
}

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

Import

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

$ terraform import oci_fusion_apps_fusion_environment.test_fusion_environment "id"