This is a simple terraform modules that creates a tunnel to a host using Cloudflare's browser ssh. Includes a configured Tunnel, Access Application, and SSH CA certificate.
| Name | Version |
|---|---|
| cloudflare | >= 4.40.0 |
| random | >= 3.5.1 |
| Name | Version |
|---|---|
| cloudflare | >= 4.40.0 |
| random | >= 3.5.1 |
No modules.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| access_application_name | Name of the Access Application. Defaults to 'SSH for ${var.domain}' | string |
n/a | yes |
| account_id | Cloudflare Account ID | string |
n/a | yes |
| allowed_idps | List of IDPs allowed to authenticate to the application | list(string) |
n/a | yes |
| app_launcher_visible | Whether to show the app launcher | bool |
true |
no |
| domain | Domain to use for the SSH Tunnel | string |
n/a | yes |
| policies | List of policies to apply to the application | list(string) |
[] |
no |
| session_duration | Session duration for the application | string |
"24h" |
no |
| skip_interstitial | Whether to skip the interstitial page | bool |
false |
no |
| ssh_host | Host to connect to via SSH | string |
"localhost" |
no |
| ssh_port | Port to connect to via SSH | number |
22 |
no |
| team_name | Zero Trust Organization Team Name | string |
n/a | yes |
| tunnel_name | Name of the SSH Tunnel | string |
"" |
no |
| Name | Description |
|---|---|
| application_id | Browser SSH Access Application ID |
| aud | Audience tag for the SSH Access Application |
| ssh_cert | SSH Certificate for the SSH Access Application |
| tunnel_cname | CNAME for the SSH Tunnel |
| tunnel_id | Tunnel ID |
| tunnel_token | Token for the SSH Tunnel. Needed to connect to the tunnel. |