oci_database_application_vip

This resource provides the Application Vip resource in Oracle Cloud Infrastructure Database service.

Creates a new application virtual IP (VIP) address in the specified cloud VM cluster based on the request parameters you provide.

Example Usage

resource "oci_database_application_vip" "test_application_vip" {
	#Required
	cloud_vm_cluster_id = oci_database_cloud_vm_cluster.test_cloud_vm_cluster.id
	hostname_label = var.application_vip_hostname_label
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	db_node_id = oci_database_db_node.test_db_node.id
	ip_address = var.application_vip_ip_address
}

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

Import

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

$ terraform import oci_database_application_vip.test_application_vip "id"