Proxy
Acl Infra
Terraform reference for Acl Infra.
Schema Properties
| Property | Type | Description |
|---|---|---|
from Required | list(string) | Source hosts allowed to open the flow. Each entry is a short hostname (e.g. "lb0101e1") or a regex matching short hostnames (e.g. "^lb[0-9]{4}e[1-3]$"). A regex is recommended so the rule keeps working after a source host is rebuilt. Full domain names, IP addresses and subnets are not accepted. Examples: ["^console02[0-9]{2}e[1-3]$"] |
name RequiredForceNew | string | Unique name of the access rule on proxy-infra. 1 to 40 characters, alphanumeric with hyphens or underscores (no spaces). Set once at creation and cannot be changed afterwards. Examples: slack-notifications |
to Required | list(string) | External destinations the source hosts may reach. Each entry is a domain name (e.g. "slack.com"), a leading-dot domain to also match its subdomains (e.g. ".slack.com"), a domain regex (escape dots and anchor with $, e.g. "hooks[0-9]{2}\.slack\.com$"), an IP address, or the keyword "all". URLs, port numbers, protocols and subnets are not accepted. Examples: ["slack.com"] |
resource "gi_proxy_acl_infra" "example" { attributes = { from = ["^console02[0-9]{2}e[1-3]$"] name = "slack-notifications" to = ["slack.com"] }}