Skip to content
Start here

Members

resource cloudflare_account_member

required Expand Collapse
account_id: String

Account identifier tag.

email: String

The contact email address of the user.

optional Expand Collapse
status?: String

Status of the member invitation. If not provided during creation, defaults to 'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.

roles?: List[String]

Array of roles associated with this member.

policies?: List[Attributes]

Array of policies associated with this member.

id: String

Policy identifier.

access: String

Allow or deny operations against the resources.

permission_groups: List[Attributes]

A set of permission groups that are specified to the policy.

id: String

Identifier of the group.

resource_groups: List[Attributes]

A list of resource groups that the policy applies to.

id: String

Identifier of the group.

computed Expand Collapse
id: String

Membership identifier tag.

user: Attributes

Details of the user associated to the membership.

email: String

The contact email address of the user.

id: String

Identifier

first_name: String

User's first name

last_name: String

User's last name

two_factor_authentication_enabled: Bool

Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.

cloudflare_account_member

resource "cloudflare_account_member" "example_account_member" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  email = "user@example.com"
  roles = ["3536bcfad5faccb999b47003c79917fb"]
  status = "accepted"
}

data cloudflare_account_member

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
member_id?: String

Membership identifier tag.

filter?: Attributes
direction?: String

Direction to order results.

order?: String

Field to order results by.

status?: String

A member's status in the account.

computed Expand Collapse
id: String

Membership identifier tag.

email: String

The contact email address of the user.

status: String

A member's status in the account.

policies: List[Attributes]

Access policy for the membership

id: String

Policy identifier.

access: String

Allow or deny operations against the resources.

permission_groups: List[Attributes]

A set of permission groups that are specified to the policy.

id: String

Identifier of the permission group.

meta: Attributes

Attributes associated to the permission group.

key: String
value: String
name: String

Name of the permission group.

resource_groups: List[Attributes]

A list of resource groups that the policy applies to.

id: String

Identifier of the resource group.

scope: List[Attributes]

The scope associated to the resource group

key: String

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

objects: List[Attributes]

A list of scope objects for additional context.

key: String

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

meta: Attributes

Attributes associated to the resource group.

key: String
value: String
name: String

Name of the resource group.

roles: List[Attributes]

Roles assigned to this Member.

id: String

Role identifier tag.

description: String

Description of role's permissions.

name: String

Role name.

permissions: Attributes
analytics: Attributes
read: Bool
write: Bool
billing: Attributes
read: Bool
write: Bool
cache_purge: Attributes
read: Bool
write: Bool
dns: Attributes
read: Bool
write: Bool
dns_records: Attributes
read: Bool
write: Bool
lb: Attributes
read: Bool
write: Bool
logs: Attributes
read: Bool
write: Bool
organization: Attributes
read: Bool
write: Bool
ssl: Attributes
read: Bool
write: Bool
waf: Attributes
read: Bool
write: Bool
zone_settings: Attributes
read: Bool
write: Bool
zones: Attributes
read: Bool
write: Bool
user: Attributes

Details of the user associated to the membership.

email: String

The contact email address of the user.

id: String

Identifier

first_name: String

User's first name

last_name: String

User's last name

two_factor_authentication_enabled: Bool

Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.

cloudflare_account_member

data "cloudflare_account_member" "example_account_member" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  member_id = "4536bcfad5faccb111b47003c79917fa"
}

data cloudflare_account_members

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
direction?: String

Direction to order results.

order?: String

Field to order results by.

status?: String

A member's status in the account.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Membership identifier tag.

email: String

The contact email address of the user.

policies: List[Attributes]

Access policy for the membership

id: String

Policy identifier.

access: String

Allow or deny operations against the resources.

permission_groups: List[Attributes]

A set of permission groups that are specified to the policy.

id: String

Identifier of the permission group.

meta: Attributes

Attributes associated to the permission group.

key: String
value: String
name: String

Name of the permission group.

resource_groups: List[Attributes]

A list of resource groups that the policy applies to.

id: String

Identifier of the resource group.

scope: List[Attributes]

The scope associated to the resource group

key: String

This is a combination of pre-defined resource name and identifier (like Account ID etc.)

objects: List[Attributes]

A list of scope objects for additional context.

key: String

This is a combination of pre-defined resource name and identifier (like Zone ID etc.)

meta: Attributes

Attributes associated to the resource group.

key: String
value: String
name: String

Name of the resource group.

roles: List[Attributes]

Roles assigned to this Member.

id: String

Role identifier tag.

description: String

Description of role's permissions.

name: String

Role name.

permissions: Attributes
analytics: Attributes
read: Bool
write: Bool
billing: Attributes
read: Bool
write: Bool
cache_purge: Attributes
read: Bool
write: Bool
dns: Attributes
read: Bool
write: Bool
dns_records: Attributes
read: Bool
write: Bool
lb: Attributes
read: Bool
write: Bool
logs: Attributes
read: Bool
write: Bool
organization: Attributes
read: Bool
write: Bool
ssl: Attributes
read: Bool
write: Bool
waf: Attributes
read: Bool
write: Bool
zone_settings: Attributes
read: Bool
write: Bool
zones: Attributes
read: Bool
write: Bool
status: String

A member's status in the account.

user: Attributes

Details of the user associated to the membership.

email: String

The contact email address of the user.

id: String

Identifier

first_name: String

User's first name

last_name: String

User's last name

two_factor_authentication_enabled: Bool

Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.

cloudflare_account_members

data "cloudflare_account_members" "example_account_members" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  direction = "desc"
  order = "status"
  status = "accepted"
}