Terraform module to manage the following Cloudflare resources:
- cloudflare_account
Copy and paste the following code snippet to your Terraform configuration,
specify the required variables and run the command terraform init.
module "cloudflare_account" {
source = "gitlab.com/terraform-child-modules-48151/terraform-cloudflare-account/local"
version = "1.0.0"
name = "dhoppeIT"
type = "standard"
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| cloudflare | ~> 5.0 |
| Name | Version |
|---|---|
| cloudflare | ~> 5.0 |
No modules.
| Name | Type |
|---|---|
| cloudflare_account.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| name | Account name | string |
n/a | yes |
| settings | Account settings | object( { abuse_contact_email = optional(string) default_nameservers = optional(string) enforce_twofactor = optional(bool) use_account_custom_ns_by_default = optional(bool) } ) |
{ "default_nameservers": "cloudflare.standard", "enforce_twofactor": true, "use_account_custom_ns_by_default": false } |
no |
| type | The type of account being created | string |
n/a | yes |
| unit | Information related to the tenant unit, and optionally, an id of the unit to create the account on | object( { id = optional(string) } ) |
null |
no |
| Name | Description |
|---|---|
| created_on | Timestamp for the creation of the account |
| id | Identifier |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.