oci_email_email_domain

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

Creates a new email domain. Avoid entering confidential information.

Example Usage

resource "oci_email_email_domain" "test_email_domain" {
	#Required
	compartment_id = var.compartment_id
	name = var.email_domain_name

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.email_domain_description
	domain_verification_id = oci_email_domain_verification.test_domain_verification.id
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_email_email_domain.test_email_domain "id"