oci_database_management_external_db_node
This resource provides the External Db Node resource in Oracle Cloud Infrastructure Database Management service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/ExternalDbNode
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement
Updates the external DB node specified by externalDbNodeId.
Example Usage
resource "oci_database_management_external_db_node" "test_external_db_node" {
#Required
external_db_node_id = oci_database_management_external_db_node.test_external_db_node.id
#Optional
defined_tags = {"Operations.CostCenter"= "42"}
external_connector_id = oci_database_management_external_connector.test_external_connector.id
freeform_tags = {"Department"= "Finance"}
}
Argument Reference
The following arguments are supported:
defined_tags- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}external_connector_id- (Optional) (Updatable) The OCID of the external connector.external_db_node_id- (Required) The OCID of the external database node.freeform_tags- (Optional) (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
** 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:
additional_details- The additional details of the external DB node defined in{"key": "value"}format. Example:{"bar-key": "value"}compartment_id- The OCID of the compartment.component_name- The name of the external DB node.cpu_core_count- The number of CPU cores available on the DB node.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}display_name- The user-friendly name for the external DB node. The name does not have to be unique.domain_name- Name of the domain.external_connector_id- The OCID of the external connector.external_db_system_id- The OCID of the external DB system that the DB node is a part of.freeform_tags- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}host_name- The host name for the DB node.id- The OCID of the external DB node.lifecycle_details- Additional information about the current lifecycle state.memory_size_in_gbs- The total memory in gigabytes (GB) on the DB node.state- The current lifecycle state of the external DB node.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The date and time the external DB node was created.time_updated- The date and time the external DB node was last updated.
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 20 minutes), when creating the External Db Node
* update - (Defaults to 20 minutes), when updating the External Db Node
* delete - (Defaults to 20 minutes), when destroying the External Db Node
Import
ExternalDbNodes can be imported using the id, e.g.
$ terraform import oci_database_management_external_db_node.test_external_db_node "id"