oci_email_sender

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

Creates a sender for a tenancy in a given compartment.

Example Usage

resource "oci_email_sender" "test_sender" {
	#Required
	compartment_id = var.compartment_id
	email_address = var.sender_email_address

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	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 Sender * update - (Defaults to 20 minutes), when updating the Sender * delete - (Defaults to 20 minutes), when destroying the Sender

Import

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

$ terraform import oci_email_sender.test_sender "id"