oci_data_safe_sql_firewall_policy

This resource provides the Sql Firewall Policy resource in Oracle Cloud Infrastructure Data Safe service.

Updates the SQL Firewall policy.

Example Usage

resource "oci_data_safe_sql_firewall_policy" "test_sql_firewall_policy" {
	#Required
	sql_firewall_policy_id = oci_data_safe_sql_firewall_policy.test_sql_firewall_policy.id

	#Optional
	allowed_client_ips = var.sql_firewall_policy_allowed_client_ips
	allowed_client_os_usernames = var.sql_firewall_policy_allowed_client_os_usernames
	allowed_client_programs = var.sql_firewall_policy_allowed_client_programs
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.sql_firewall_policy_description
	display_name = var.sql_firewall_policy_display_name
	enforcement_scope = var.sql_firewall_policy_enforcement_scope
	freeform_tags = {"Department"= "Finance"}
	status = var.sql_firewall_policy_status
	violation_action = var.sql_firewall_policy_violation_action
	violation_audit = var.sql_firewall_policy_violation_audit
}

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 Sql Firewall Policy * update - (Defaults to 20 minutes), when updating the Sql Firewall Policy * delete - (Defaults to 20 minutes), when destroying the Sql Firewall Policy

Import

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

$ terraform import oci_data_safe_sql_firewall_policy.test_sql_firewall_policy "id"