Skip to content
Start here

IAM

IAMPermission Groups

data cloudflare_account_permission_group

required Expand Collapse
account_id: String

Account identifier tag.

permission_group_id: String

Permission Group identifier tag.

computed Expand Collapse
id: String

Identifier of the permission group.

name: String

Name of the permission group.

meta: Attributes

Attributes associated to the permission group.

key: String
value: String

cloudflare_account_permission_group

data "cloudflare_account_permission_group" "example_account_permission_group" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  permission_group_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_account_permission_groups

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
id?: String

ID of the permission group to be fetched.

label?: String

Label of the permission group to be fetched.

name?: String

Name of the permission group to be fetched.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

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.

cloudflare_account_permission_groups

data "cloudflare_account_permission_groups" "example_account_permission_groups" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  id = "6d7f2f5f5b1d4a0e9081fdc98d432fd1"
  label = "labelOfThePermissionGroup"
  name = "NameOfThePermissionGroup"
}

IAMResource Groups

data cloudflare_resource_group

required Expand Collapse
account_id: String

Account identifier tag.

resource_group_id: String

Resource Group identifier tag.

computed Expand Collapse
id: String

Identifier of the resource group.

name: String

Name of the resource group.

meta: Attributes

Attributes associated to the resource group.

key: String
value: String
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.)

cloudflare_resource_group

data "cloudflare_resource_group" "example_resource_group" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  resource_group_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_resource_groups

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
id?: String

ID of the resource group to be fetched.

name?: String

Name of the resource group to be fetched.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

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.

cloudflare_resource_groups

data "cloudflare_resource_groups" "example_resource_groups" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  id = "023e105f4ecef8ad9ca31a8372d0c353"
  name = "NameOfTheResourceGroup"
}

IAMUser Groups

resource cloudflare_user_group

required Expand Collapse
account_id: String

Account identifier tag.

name: String

Name of the User group.

optional Expand Collapse
policies?: List[Attributes]

Policies attached to the User group

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

Permission Group identifier tag.

resource_groups: List[Attributes]

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

id: String

Resource Group identifier tag.

computed Expand Collapse
id: String

User Group identifier tag.

created_on: Time

Timestamp for the creation of the user group

modified_on: Time

Last time the user group was modified.

cloudflare_user_group

resource "cloudflare_user_group" "example_user_group" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  name = "My New User Group"
  policies = [{
    access = "allow"
    permission_groups = [{
      id = "c8fed203ed3043cba015a93ad1616f1f"
    }, {
      id = "82e64a83756745bbbb1c9c2701bf816b"
    }]
    resource_groups = [{
      id = "6d7f2f5f5b1d4a0e9081fdc98d432fd1"
    }]
  }]
}

data cloudflare_user_group

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
user_group_id?: String

User Group identifier tag.

filter?: Attributes
id?: String

ID of the user group to be fetched.

direction?: String

The sort order of returned user groups by name (ascending or descending).

fuzzy_name?: String

A string used for searching for user groups containing that substring.

name?: String

Name of the user group to be fetched.

computed Expand Collapse
id: String

User Group identifier tag.

created_on: Time

Timestamp for the creation of the user group

modified_on: Time

Last time the user group was modified.

name: String

Name of the user group.

policies: List[Attributes]

Policies attached to the User group

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.

cloudflare_user_group

data "cloudflare_user_group" "example_user_group" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  user_group_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_user_groups

required Expand Collapse
account_id: String

Account identifier tag.

optional Expand Collapse
fuzzy_name?: String

A string used for searching for user groups containing that substring.

id?: String

ID of the user group to be fetched.

name?: String

Name of the user group to be fetched.

direction?: String

The sort order of returned user groups by name (ascending or descending).

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

User Group identifier tag.

created_on: Time

Timestamp for the creation of the user group

modified_on: Time

Last time the user group was modified.

name: String

Name of the user group.

policies: List[Attributes]

Policies attached to the User group

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.

cloudflare_user_groups

data "cloudflare_user_groups" "example_user_groups" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  id = "023e105f4ecef8ad9ca31a8372d0c353"
  fuzzy_name = "Foo"
  name = "NameOfTheUserGroup"
}

IAMUser GroupsMembers

resource cloudflare_user_group_members

required Expand Collapse
user_group_id: String

User Group identifier tag.

account_id: String

Account identifier tag.

members: List[Attributes]
id: String

The identifier of an existing account Member.

computed Expand Collapse
id: String

User Group identifier tag.

cloudflare_user_group_members

resource "cloudflare_user_group_members" "example_user_group_members" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  user_group_id = "023e105f4ecef8ad9ca31a8372d0c353"
  members = [{
    id = "023e105f4ecef8ad9ca31a8372d0c353"
  }]
}

data cloudflare_user_group_members

required Expand Collapse
user_group_id: String

User Group identifier tag.

account_id: String

Account identifier tag.

optional Expand Collapse
fuzzy_email?: String

A string used for filtering members by partial email match.

direction?: String

The sort order of returned user group members by email.

computed Expand Collapse
id: String

User Group identifier tag.

email: String

The contact email address of the user.

status: String

The member’s status in the account.

cloudflare_user_group_members

data "cloudflare_user_group_members" "example_user_group_members" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  user_group_id = "023e105f4ecef8ad9ca31a8372d0c353"
  direction = "asc"
  fuzzy_email = "user@"
}

IAMSSO

resource cloudflare_sso_connector

required Expand Collapse
account_id: String

Account identifier tag.

email_domain: String

Email domain of the new SSO connector

optional Expand Collapse
begin_verification?: Bool

Begin the verification process after creation

enabled?: Bool

SSO Connector enabled state

use_fedramp_language?: Bool

Controls the display of FedRAMP language to the user during SSO login

computed Expand Collapse
id: String

SSO Connector identifier tag.

created_on: Time

Timestamp for the creation of the SSO connector

updated_on: Time

Timestamp for the last update of the SSO connector

verification: Attributes
code: String

DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.

status: String

The status of the verification code from the verification process.

cloudflare_sso_connector

resource "cloudflare_sso_connector" "example_sso_connector" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  email_domain = "example.com"
  begin_verification = true
  use_fedramp_language = false
}

data cloudflare_sso_connector

required Expand Collapse
sso_connector_id: String

SSO Connector identifier tag.

account_id: String

Account identifier tag.

computed Expand Collapse
id: String

SSO Connector identifier tag.

created_on: Time

Timestamp for the creation of the SSO connector

email_domain: String
enabled: Bool
updated_on: Time

Timestamp for the last update of the SSO connector

use_fedramp_language: Bool

Controls the display of FedRAMP language to the user during SSO login

verification: Attributes
code: String

DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.

status: String

The status of the verification code from the verification process.

cloudflare_sso_connector

data "cloudflare_sso_connector" "example_sso_connector" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  sso_connector_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_sso_connectors

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

SSO Connector identifier tag.

created_on: Time

Timestamp for the creation of the SSO connector

email_domain: String
enabled: Bool
updated_on: Time

Timestamp for the last update of the SSO connector

use_fedramp_language: Bool

Controls the display of FedRAMP language to the user during SSO login

verification: Attributes
code: String

DNS verification code. Add this entire string to the DNS TXT record of the email domain to validate ownership.

status: String

The status of the verification code from the verification process.

cloudflare_sso_connectors

data "cloudflare_sso_connectors" "example_sso_connectors" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}