oci_data_safe_database_security_config

This resource provides the Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.

Updates the database security configuration.

Example Usage

resource "oci_data_safe_database_security_config" "test_database_security_config" {
	#Required
	database_security_config_id = oci_data_safe_database_security_config.test_database_security_config.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.database_security_config_description
	display_name = var.database_security_config_display_name
	freeform_tags = {"Department"= "Finance"}
	sql_firewall_config {

		#Optional
		exclude_job = var.database_security_config_sql_firewall_config_exclude_job
		status = var.database_security_config_sql_firewall_config_status
		violation_log_auto_purge = var.database_security_config_sql_firewall_config_violation_log_auto_purge
	}
}

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 Database Security Config * update - (Defaults to 20 minutes), when updating the Database Security Config * delete - (Defaults to 20 minutes), when destroying the Database Security Config

Import

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

$ terraform import oci_data_safe_database_security_config.test_database_security_config "id"