Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bYOIPv6 + endpoint + Destination IP support at locations #4805

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/4805.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
cloudflare_teams_location: support endpoints + BYOIPv6 + DNS IPv4 destinations
```
109 changes: 103 additions & 6 deletions docs/resources/teams_location.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,124 @@ resource "cloudflare_teams_location" "example" {
### Optional

- `client_default` (Boolean) Indicator that this is the default location.
- `dns_destination_ips_id` (String) IPv4 binding assigned to this location.
- `dns_destination_ipv6_block_id` (String) IPv6 block binding assigned to this location.
- `ecs_support` (Boolean) Indicator that this location needs to resolve EDNS queries.
- `networks` (Block Set) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedblock--networks))
- `endpoints` (Block List, Max: 1) Endpoints assigned to this location. (see [below for nested schema](#nestedblock--endpoints))
- `networks` (Set of Object) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedatt--networks))

### Read-Only

- `anonymized_logs_enabled` (Boolean) Indicator that anonymized logs are enabled.
- `doh_subdomain` (String) The FQDN that DoH clients should be pointed at.
- `id` (String) The ID of this resource.
- `ip` (String) Client IP address.
- `ipv4_destination` (String) IP to direct all IPv4 DNS queries to.
- `ipv4_destination` (String) IPv4 to direct all IPv4 DNS queries to.
- `ipv4_destination_backup` (String) Backup IPv4 to direct all IPv4 DNS queries to.

<a id="nestedblock--networks"></a>
### Nested Schema for `networks`
<a id="nestedblock--endpoints"></a>
### Nested Schema for `endpoints`

Optional:

- `doh` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--doh))
- `dot` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--dot))
- `ipv4` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv4))
- `ipv6` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv6))

<a id="nestedblock--endpoints--doh"></a>
### Nested Schema for `endpoints.doh`

Required:

- `network` (String) CIDR notation representation of the network IP.
- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--doh--networks))

Read-Only:

- `id` (String) The ID of this resource.
- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--doh--networks"></a>
### Nested Schema for `endpoints.doh.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--dot"></a>
### Nested Schema for `endpoints.dot`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--dot--networks))

Read-Only:

- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--dot--networks"></a>
### Nested Schema for `endpoints.dot.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--ipv4"></a>
### Nested Schema for `endpoints.ipv4`

Required:

- `enabled` (Boolean)

Read-Only:

- `authentication_enabled` (Boolean)


<a id="nestedblock--endpoints--ipv6"></a>
### Nested Schema for `endpoints.ipv6`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--ipv6--networks))

Read-Only:

- `authentication_enabled` (Boolean)

<a id="nestedatt--endpoints--ipv6--networks"></a>
### Nested Schema for `endpoints.ipv6.networks`

Optional:

- `network` (String)




<a id="nestedatt--networks"></a>
### Nested Schema for `networks`

Optional:

- `network` (String)

## Import

Expand Down
109 changes: 103 additions & 6 deletions docs/resources/zero_trust_dns_location.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,124 @@ resource "cloudflare_zero_trust_dns_location" "example" {
### Optional

- `client_default` (Boolean) Indicator that this is the default location.
- `dns_destination_ips_id` (String) IPv4 binding assigned to this location.
- `dns_destination_ipv6_block_id` (String) IPv6 block binding assigned to this location.
- `ecs_support` (Boolean) Indicator that this location needs to resolve EDNS queries.
- `networks` (Block Set) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedblock--networks))
- `endpoints` (Block List, Max: 1) Endpoints assigned to this location. (see [below for nested schema](#nestedblock--endpoints))
- `networks` (Set of Object) The networks CIDRs that comprise the location. (see [below for nested schema](#nestedatt--networks))

### Read-Only

- `anonymized_logs_enabled` (Boolean) Indicator that anonymized logs are enabled.
- `doh_subdomain` (String) The FQDN that DoH clients should be pointed at.
- `id` (String) The ID of this resource.
- `ip` (String) Client IP address.
- `ipv4_destination` (String) IP to direct all IPv4 DNS queries to.
- `ipv4_destination` (String) IPv4 to direct all IPv4 DNS queries to.
- `ipv4_destination_backup` (String) Backup IPv4 to direct all IPv4 DNS queries to.

<a id="nestedblock--networks"></a>
### Nested Schema for `networks`
<a id="nestedblock--endpoints"></a>
### Nested Schema for `endpoints`

Optional:

- `doh` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--doh))
- `dot` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--dot))
- `ipv4` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv4))
- `ipv6` (Block List, Max: 1) (see [below for nested schema](#nestedblock--endpoints--ipv6))

<a id="nestedblock--endpoints--doh"></a>
### Nested Schema for `endpoints.doh`

Required:

- `network` (String) CIDR notation representation of the network IP.
- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--doh--networks))

Read-Only:

- `id` (String) The ID of this resource.
- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--doh--networks"></a>
### Nested Schema for `endpoints.doh.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--dot"></a>
### Nested Schema for `endpoints.dot`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--dot--networks))

Read-Only:

- `authentication_enabled` (Boolean)
- `require_token` (Boolean)

<a id="nestedatt--endpoints--dot--networks"></a>
### Nested Schema for `endpoints.dot.networks`

Optional:

- `network` (String)



<a id="nestedblock--endpoints--ipv4"></a>
### Nested Schema for `endpoints.ipv4`

Required:

- `enabled` (Boolean)

Read-Only:

- `authentication_enabled` (Boolean)


<a id="nestedblock--endpoints--ipv6"></a>
### Nested Schema for `endpoints.ipv6`

Required:

- `enabled` (Boolean)

Optional:

- `networks` (List of Object) (see [below for nested schema](#nestedatt--endpoints--ipv6--networks))

Read-Only:

- `authentication_enabled` (Boolean)

<a id="nestedatt--endpoints--ipv6--networks"></a>
### Nested Schema for `endpoints.ipv6.networks`

Optional:

- `network` (String)




<a id="nestedatt--networks"></a>
### Nested Schema for `networks`

Optional:

- `network` (String)

## Import

Expand Down
Loading
Loading