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
	network_endpoint_details {
		#Required
		network_endpoint_type = var.vb_instance_network_endpoint_details_network_endpoint_type
		subnet_id = oci_core_subnet.test_subnet.id

		#Optional
		network_security_group_ids = var.vb_instance_network_endpoint_details_network_security_group_ids
		private_endpoint_ip = var.vb_instance_network_endpoint_details_private_endpoint_ip
	}
}

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 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"