cloudflare_access_organization (Resource)

A Zero Trust organization defines the user login experience.

Example Usage

resource "cloudflare_access_organization" "example" {
  account_id                         = "f037e56e89293a057740de681ac9abbe"
  name                               = "example.cloudflareaccess.com"
  auth_domain                        = "example.cloudflareaccess.com"
  is_ui_read_only                    = false
  user_seat_expiration_inactive_time = "720h"
  auto_redirect_to_identity          = false

  login_design {
    background_color = "#ffffff"
    text_color       = "#000000"
    logo_path        = "https://example.com/logo.png"
    header_text      = "My header text"
    footer_text      = "My footer text"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for custom_pages

Optional:

Nested Schema for login_design

Optional:

Import

Import is supported using the following syntax:

$ terraform import cloudflare_access_organization.example <account_id>