Skip to content

Commit 7f9f2b7

Browse files
committed
fix indentation
1 parent 8627cef commit 7f9f2b7

File tree

1 file changed

+27
-27
lines changed
  • src/content/docs/cloudflare-one/connections/connect-devices/warp/configure-warp

1 file changed

+27
-27
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/configure-warp/device-profiles.mdx

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -66,33 +66,33 @@ Send a `POST` request to the [Devices API](/api/resources/zero_trust/subresource
6666

6767
2. Create a new profile using the [`cloudflare_zero_trust_device_custom_profile`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zero_trust_device_custom_profile) resource:
6868

69-
```tf
70-
resource "cloudflare_zero_trust_device_custom_profile" "example" {
71-
account_id = var.cloudflare_account_id
72-
name = "Example device profile"
73-
description = "Example device profile recommended in the implementation documentation. For details, refer to https://developers.cloudflare.com/learning-paths/replace-vpn/configure-device-agent/device-profiles/"
74-
allow_mode_switch = false
75-
allow_updates = false
76-
allowed_to_leave = false
77-
auto_connect = 600
78-
captive_portal = 180
79-
disable_auto_fallback = true
80-
enabled = true
81-
exclude_office_ips = false
82-
precedence = 101
83-
service_mode_v2 = {mode = "warp"}
84-
support_url = "https://support.example.com"
85-
switch_locked = true
86-
tunnel_protocol = "wireguard"
87-
88-
match = trimspace(replace(<<-EOT
89-
identity.email in {"[email protected]"}
90-
or any(identity.groups.name[*] in {"developers" "admin"})
91-
and os.name == "windows"
92-
EOT
93-
, "\n", " "))
94-
}
95-
```
69+
```tf
70+
resource "cloudflare_zero_trust_device_custom_profile" "example" {
71+
account_id = var.cloudflare_account_id
72+
name = "Example device profile"
73+
description = "Example device profile recommended in the implementation documentation. For details, refer to https://developers.cloudflare.com/learning-paths/replace-vpn/configure-device-agent/device-profiles/"
74+
allow_mode_switch = false
75+
allow_updates = false
76+
allowed_to_leave = false
77+
auto_connect = 600
78+
captive_portal = 180
79+
disable_auto_fallback = true
80+
enabled = true
81+
exclude_office_ips = false
82+
precedence = 101
83+
service_mode_v2 = {mode = "warp"}
84+
support_url = "https://support.example.com"
85+
switch_locked = true
86+
tunnel_protocol = "wireguard"
87+
88+
match = trimspace(replace(<<-EOT
89+
identity.email in {"[email protected]"}
90+
or any(identity.groups.name[*] in {"developers" "admin"})
91+
and os.name == "windows"
92+
EOT
93+
, "\n", " "))
94+
}
95+
```
9696

9797
</TabItem>
9898
</Tabs>

0 commit comments

Comments
 (0)