oci_visual_builder_vb_instance
This resource provides the Vb Instance resource in Oracle Cloud Infrastructure Visual Builder service.
Creates a new Vb Instance.
Example Usage
resource "oci_visual_builder_vb_instance" "test_vb_instance" {
#Required
compartment_id = var.compartment_id
display_name = var.vb_instance_display_name
node_count = var.vb_instance_node_count
#Optional
alternate_custom_endpoints {
#Required
hostname = var.vb_instance_alternate_custom_endpoints_hostname
#Optional
certificate_secret_id = oci_vault_secret.test_secret.id
}
consumption_model = var.vb_instance_consumption_model
custom_endpoint {
#Required
hostname = var.vb_instance_custom_endpoint_hostname
#Optional
certificate_secret_id = oci_vault_secret.test_secret.id
}
defined_tags = {"foo-namespace.bar-key"= "value"}
freeform_tags = {"bar-key"= "value"}
idcs_open_id = oci_visual_builder_idcs_open.test_idcs_open.id
is_visual_builder_enabled = var.vb_instance_is_visual_builder_enabled
}
Argument Reference
The following arguments are supported:
alternate_custom_endpoints
- (Optional) (Updatable) A list of alternate custom endpoints to be used for the vb instance URL (contact Oracle for alternateCustomEndpoints availability for a specific instance).certificate_secret_id
- (Optional) (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate.hostname
- (Required) (Updatable) A custom hostname to be used for the vb instance URL, in FQDN format.
compartment_id
- (Required) (Updatable) Compartment Identifier.consumption_model
- (Optional) Optional parameter specifying which entitlement to use for billing purposes. Only required if the account possesses more than one entitlement.custom_endpoint
- (Optional) (Updatable) Details for a custom endpoint for the vb instance (update).certificate_secret_id
- (Optional) (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate.hostname
- (Required) (Updatable) A custom hostname to be used for the vb instance URL, in FQDN format.
defined_tags
- (Optional) (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:{"foo-namespace.bar-key": "value"}
display_name
- (Required) (Updatable) Vb Instance Identifier.freeform_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_open_id
- (Optional) (Updatable) Encrypted IDCS Open ID token. This is required for pre-UCPIS cloud accounts, but not UCPIS, hence not a required parameteris_visual_builder_enabled
- (Optional) (Updatable) Visual Builder is enabled or not.node_count
- (Required) (Updatable) The number of Nodes
** 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:
alternate_custom_endpoints
- A list of alternate custom endpoints used for the vb instance URL.certificate_secret_id
- Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname.certificate_secret_version
- The secret version used for the certificate-secret-id (if certificate-secret-id is specified).hostname
- A custom hostname to be used for the vb instance URL, in FQDN format.
attachments
- A list of associated attachments to other servicesis_implicit
-- If role ==
PARENT
, the attached instance was created by this service instance - If role ==
CHILD
, this instance was created from attached instance on behalf of a user
- If role ==
target_id
- The OCID of the target instance (which could be any other Oracle Cloud Infrastructure PaaS/SaaS resource), to which this instance is attached.target_instance_url
- The dataplane instance URL of the attached instancetarget_role
- The role of the target attachment.PARENT
- The target instance is the parent of this attachment.CHILD
- The target instance is the child of this attachment.
target_service_type
- The type of the target instance, such as “FUSION”.
compartment_id
- Compartment Identifier.consumption_model
- The entitlement used for billing purposes.custom_endpoint
- Details for a custom endpoint for the vb instance.certificate_secret_id
- Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname.certificate_secret_version
- The secret version used for the certificate-secret-id (if certificate-secret-id is specified).hostname
- A custom hostname to be used for the vb instance URL, in FQDN format.
defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
display_name
- Vb Instance Identifier, can be renamed.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- Unique identifier that is immutable on creation.idcs_info
- Information for IDCS accessidcs_app_display_name
- The IDCS application display name associated with the instanceidcs_app_id
- The IDCS application ID associated with the instanceidcs_app_location_url
- URL for the location of the IDCS Application (used by IDCS APIs)idcs_app_name
- The IDCS application name associated with the instanceinstance_primary_audience_url
- The URL used as the primary audience for visual builder flows in this instance type: string
instance_url
- The Vb Instance URL.is_visual_builder_enabled
- Visual Builder is enabled or not.management_nat_gateway_ip
- The NAT gateway IP address for the VB management VCNmanagement_vcn_id
- The Oracle Cloud ID (OCID) of the Visual Builder management VCNnode_count
- The number of Nodesservice_nat_gateway_ip
- The NAT gateway IP address for the VB service VCNservice_vcn_id
- The Oracle Cloud ID (OCID) of the Visual Builder service VCNstate
- The current state of the vb instance.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"}
time_created
- The time the the VbInstance was created. An RFC3339 formatted datetime string.time_updated
- The time the VbInstance was updated. An RFC3339 formatted datetime string.
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Vb Instance
* update
- (Defaults to 20 minutes), when updating the Vb Instance
* delete
- (Defaults to 20 minutes), when destroying the Vb Instance
Import
VbInstances can be imported using the id
, e.g.
$ terraform import oci_visual_builder_vb_instance.test_vb_instance "id"