Esta página vem da documentação do próprio provider, em inglês — a mesma do Terraform Registry.

Resource: yet_settings_mail_list

A list: one address of the company's that delivers to several — its own people, or anyone outside.

Example Usage

resource "yet_settings_mail_list" "finance" {
  domain      = "acme.dev"
  name        = "financeiro"
  description = "Invoices and receipts."
  recipients = [
    yet_settings_person.ana.email,
    "accounting@example.com",
  ]
}

Schema

Required

  • domain (String) One of the company's domains with mail.
  • name (String) The list before the @: financeiro.
  • recipients (Set of String) The addresses it delivers to, whole: those left out stop receiving it.

Optional

  • description (String) What the list is for, as Settings shows it.

Read-Only

  • address (String) The list's address: financeiro@acme.dev.
  • id (String) The list's id, as the mail server has it.

Import

In Terraform v1.5.0 and later, with an import block:

import {
  to = yet_settings_mail_list.finance
  id = "b7"
}

With terraform import:

# By the list's id, as the mail server has it.
terraform import yet_settings_mail_list.finance b7