Skip to content
Start here

Roles

data cloudflare_account_role

required Expand Collapse
account_id: String

Account identifier tag.

role_id: String

Role identifier tag.

computed Expand Collapse
description: String

Description of role's permissions.

id: String

Role identifier tag.

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

cloudflare_account_role

data "cloudflare_account_role" "example_account_role" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  role_id = "3536bcfad5faccb999b47003c79917fb"
}

data cloudflare_account_roles

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

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

cloudflare_account_roles

data "cloudflare_account_roles" "example_account_roles" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}