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

Resource: yet_settings_person

Someone of the company with a mailbox here, who signs in with it.

Warning: Destroying it removes their sign-in and their mailbox, with every message in it. It cannot be undone.

Note: An invitation waits for a person to open it, so it stays in Yet's apps: here, people are given a password.

Example Usage

resource "yet_settings_person" "ana" {
  name      = "ana"
  domain    = "acme.dev"
  aliases   = ["acme.com.br"]
  full_name = "Ana Costa"
  password  = var.ana_password
  admin     = true
}

variable "ana_password" {
  type      = string
  sensitive = true
}

Schema

Required

  • domain (String) One of the company's domains with mail: their address is name@domain.
  • full_name (String) Their name, as the apps and their mail show it.
  • name (String) Their mailbox's name, before the @: ana.
  • password (String, Sensitive) Their password, at least 8 characters. Changed here, it is set again; they use it the next time they sign in.

Optional

  • admin (Boolean) Whether they may open the company's Settings.
  • aliases (List of String) Other domains of the company with mail where name@ reaches them too.

Read-Only

  • email (String) The address they sign in with.
  • id (String) The ID of this resource.

Import

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

import {
  to = yet_settings_person.ana
  id = "3c"
}

With terraform import:

# By the person's id, as Settings → People has it. The password is set again
# at the next apply.
terraform import yet_settings_person.ana 3c