Provides a resource which manages Cloudflare account members.
resource "cloudflare_account_member" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
email_address = "user@example.com"
role_ids = [
"68b329da9893e34099c7d8ad5cb9c940",
"d784fa8b6d98d27699781bd9a7cf19f0"
]
}
account_id
(String) Account ID to create the account member in.email_address
(String) The email address of the user who you wish to manage. Following creation, this field becomes read only via the API and cannot be updated.role_ids
(Set of String) List of account role IDs that you want to assign to a member.status
(String) A member's status in the account. Available values: accepted
, pending
.id
(String) The ID of this resource.Import is supported using the following syntax:
$ terraform import cloudflare_account_member.example <account_id>/<member_id>