Provides a Cloudflare Account resource. Account is the basic resource for working with Cloudflare zones, teams and users.
resource "cloudflare_account" "example" {
name = "some-enterprise-account"
type = "enterprise"
enforce_twofactor = true
}
name
(String) The name of the account that is displayed in the Cloudflare dashboard.enforce_twofactor
(Boolean) Whether 2FA is enforced on the account. Defaults to false
.type
(String) Account type. Available values: enterprise
, standard
. Defaults to standard
. Modifying this attribute will force creation of a new resource.id
(String) The ID of this resource.Import is supported using the following syntax:
$ terraform import cloudflare_account.example <account_id>