Skip to content

Commit

Permalink
Merge pull request #3327 from josip-stanic/docs/tunnel-config-ingress…
Browse files Browse the repository at this point in the history
…-rule

docs: update ingress_rule description of cloudflare_tunnel_config
  • Loading branch information
jacobbednarz authored May 27, 2024
2 parents eeb7b33 + 8298c4b commit eeae5a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/tunnel_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ resource "cloudflare_tunnel_config" "example_config" {

Required:

- `ingress_rule` (Block List, Min: 1) Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/). (see [below for nested schema](#nestedblock--config--ingress_rule))
- `ingress_rule` (Block List, Min: 1) Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. Last rule must match all requests, e.g `service = "http_status:503"`. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/). (see [below for nested schema](#nestedblock--config--ingress_rule))

Optional:

Expand Down
2 changes: 1 addition & 1 deletion internal/sdkv2provider/schema_cloudflare_tunnel_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func resourceCloudflareTunnelConfigSchema() map[string]*schema.Schema {
},
"ingress_rule": {
Type: schema.TypeList,
Description: "Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/)",
Description: "Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. Last rule must match all requests, e.g `service = \"http_status:503\"`. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/)",
Required: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down

0 comments on commit eeae5a8

Please sign in to comment.