Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 886 Bytes

unsubscribe_group.md

File metadata and controls

35 lines (23 loc) · 886 Bytes

sendgrid_unsubscribe_group

Provide a resource to manage an unsubscribe group.

Example Usage

resource "sendgrid_unsubscribe_group" "default" {
	name   = "default-unsubscribe-group"
	description = "The default unsubscribe group"
    is_default = true
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name you will use to describe this unsubscribe group.
  • description - (Optional) The description of the unsubscribe group
  • is_default - (Optional) Should this unsubscribe group be used as the default group?

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • unsubscribes - The number of unsubscribes that belong to the group.

Import

An unsubscribe group can be imported, e.g.

$ terraform import sendgrid_unsubscribe_group.default unsubscribeGroupID