» cloudflare_account_member

Provides a resource which manages Cloudflare account members.

» Example Usage

resource "cloudflare_account_member" "example_user" {
  email_address = "user@example.com"
  role_ids = [
    "68b329da9893e34099c7d8ad5cb9c940",
    "d784fa8b6d98d27699781bd9a7cf19f0"
  ]
}

» Argument Reference

The following arguments are supported:

  • email_address - (Required) The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated.
  • role_ids - (Required) Array of account role IDs that you want to assign to a member.

» Import

Account members can be imported using a composite ID formed of account ID and account member ID, e.g.

$ terraform import cloudflare_account_member.example_user d41d8cd98f00b204e9800998ecf8427e/b58c6f14d292556214bd64909bcdb118

where: