oci_email_dkim

This resource provides the Dkim resource in Oracle Cloud Infrastructure Email service.

Creates a new DKIM for an email domain. This DKIM signs all approved senders in the tenancy that are in this email domain. Best security practices indicate to periodically rotate the DKIM that is doing the signing. When a second DKIM is applied, all senders seamlessly pick up the new key without interruption in signing.

Example Usage

resource "oci_email_dkim" "test_dkim" {
	#Required
	email_domain_id = oci_email_email_domain.test_email_domain.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.dkim_description
	freeform_tags = {"Department"= "Finance"}
	name = var.dkim_name
}

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

Import

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

$ terraform import oci_email_dkim.test_dkim "id"