oci_oce_oce_instance
This resource provides the Oce Instance resource in Oracle Cloud Infrastructure Content and Experience service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/oce/latest/OceInstance
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
Creates a new OceInstance.
Example Usage
resource "oci_oce_oce_instance" "test_oce_instance" {
#Required
admin_email = var.oce_instance_admin_email
compartment_id = var.compartment_id
idcs_access_token = var.oce_instance_idcs_access_token
name = var.oce_instance_name
object_storage_namespace = var.oce_instance_object_storage_namespace
tenancy_id = oci_identity_tenancy.test_tenancy.id
tenancy_name = oci_identity_tenancy.test_tenancy.name
#Optional
add_on_features = var.oce_instance_add_on_features
defined_tags = {"foo-namespace.bar-key"= "value"}
description = var.oce_instance_description
dr_region = var.oce_instance_dr_region
freeform_tags = {"bar-key"= "value"}
instance_access_type = var.oce_instance_instance_access_type
instance_license_type = var.oce_instance_instance_license_type
instance_usage_type = var.oce_instance_instance_usage_type
upgrade_schedule = var.oce_instance_upgrade_schedule
waf_primary_domain = var.oce_instance_waf_primary_domain
}
Argument Reference
The following arguments are supported:
add_on_features- (Optional) (Updatable) a list of add-on features for the ocm instanceadmin_email- (Required) Admin Email for Notificationcompartment_id- (Required) (Updatable) Compartment Identifierdefined_tags- (Optional) (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:{"foo-namespace.bar-key": "value"}description- (Optional) (Updatable) OceInstance descriptiondr_region- (Optional) (Updatable) disaster recovery paired ragion namefreeform_tags- (Optional) (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}idcs_access_token- (Required) Identity Cloud Service access token identifying a stripe and service administrator userinstance_access_type- (Optional) Flag indicating whether the instance access is private or publicinstance_license_type- (Optional) (Updatable) Flag indicating whether the instance license is new cloud or bring your own licenseinstance_usage_type- (Optional) (Updatable) Instance type based on its usagename- (Required) OceInstance Nameobject_storage_namespace- (Required) Object Storage Namespace of Tenancytenancy_id- (Required) Tenancy Identifiertenancy_name- (Required) Tenancy Nameupgrade_schedule- (Optional) Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released versionwaf_primary_domain- (Optional) (Updatable) Web Application Firewall(WAF) primary domain
** 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:
add_on_features- a list of add-on features for the ocm instanceadmin_email- Admin Email for Notificationcompartment_id- Compartment Identifierdefined_tags- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:{"foo-namespace.bar-key": "value"}description- OceInstance description, can be updateddr_region- disaster recovery paired ragion namefreeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}guid- Unique GUID identifier that is immutable on creationid- Unique identifier that is immutable on creationidcs_tenancy- IDCS Tenancy Identifierinstance_access_type- Flag indicating whether the instance access is private or publicinstance_license_type- Flag indicating whether the instance license is new cloud or bring your own licenseinstance_usage_type- Instance type based on its usagelifecycle_details- Details of the current state of the instance lifecyclename- OceInstance Nameobject_storage_namespace- Object Storage Namespace of tenancyservice- SERVICE data. Example:{"service": {"IDCS": "value"}}state- The current state of the instance lifecycle.state_message- An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}tenancy_id- Tenancy Identifiertenancy_name- Tenancy Nametime_created- The time the the OceInstance was created. An RFC3339 formatted datetime stringtime_updated- The time the OceInstance was updated. An RFC3339 formatted datetime stringupgrade_schedule- Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released versionwaf_primary_domain- Web Application Firewall(WAF) primary domain
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 30 minutes), when creating the Oce Instance
* update - (Defaults to 20 minutes), when updating the Oce Instance
* delete - (Defaults to 20 minutes), when destroying the Oce Instance
Import
OceInstances can be imported using the id, e.g.
$ terraform import oci_oce_oce_instance.test_oce_instance "id"