You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`custom_domain_names` (Set of String) Indicate the list of domains for which you want to activate HTTPS / TLS / SSL. You will also need to create a DNS entry on your domain name (from your registrar control panel) pointing to your service. You must create a CNAME record pointing to the service `cname` value. Alternatively, you can create an A record pointing to the service `ipv4` value.
42
72
-`default_password` (String) Set the default password used by you services at **CREATION** time.</br>The password can only contain alphanumeric characters or hyphens `-`. Require at least 10 characters, one uppercase letter, one lowercase letter and one number.</br>If you don't set a password, a random one will be generated by the API.</br>This attribute will **not be synced** after the creation. Use `admin.password` or `database_admin.password` to get the current password after the creation.
43
73
-`firewall_enabled` (Boolean) Service firewall state. **Default**`true`.
74
+
-`firewall_remove_tool_ports` (Boolean) When `true`, removes API-managed tool ports (VS Code, Terminal, etc.) that are not explicitly defined in `firewall_user_rules`. Tool ports explicitly included in `firewall_user_rules` are user-managed and will always be preserved. **Default**`false`. Use temporarily for cleanup, then reset to `false`.
75
+
-`firewall_user_rules` (Attributes Set) Firewall rules for the service. **Required ports (must use exactly `["0.0.0.0/0", "::/0"]`):**`22/tcp` (SSH), `4242/udp` (Nebula VPN), `80/tcp` (Let's Encrypt for custom domains). When `firewall_enabled` is `false`, set to `[]`. **Software default ports:**`80/tcp`, `443/tcp`. (see [below for nested schema](#nestedatt--firewall_user_rules))
44
76
-`keep_backups_on_delete_enabled` (Boolean) Creates a backup and keeps all existing ones after deleting the service. If the project is deleted, the backups will be lost. **Default**`true`.
45
77
-`local_field` (Dynamic) This field is dynamic and can be used to store any custom data that you want to retrieve later in your configuration. It is not used by the provider.
46
78
-`local_field_sensitive` (Dynamic, Sensitive) Same as `local_field` but the value is sensitive.
-`external_backups_update_type` (String) Service external backups update type.
82
114
-`firewall_id` (String) Service firewall id.
83
115
-`firewall_ports` (String) Service firewall ports.
116
+
-`firewall_tool_rules` (Attributes Set) API-managed tool ports (VS Code, Terminal, File Explorer, etc.) that are not explicitly defined in `firewall_user_rules`. These ports are automatically managed by the API and will be preserved unless `firewall_remove_tool_ports` is set to `true`. If you want to manage a tool port yourself, include it explicitly in `firewall_user_rules`. (see [below for nested schema](#nestedatt--firewall_tool_rules))
84
117
-`global_ip` (String) Service global IP.
85
118
-`id` (String) Service identifier handled by the provider. The format can change.
-`traffic_incoming` (Number) Service traffic incoming.
100
133
-`traffic_outgoing` (Number) Service traffic outgoing.
101
134
135
+
<aid="nestedatt--firewall_user_rules"></a>
136
+
### Nested Schema for `firewall_user_rules`
137
+
138
+
Required:
139
+
140
+
-`port` (String) Port number (`80`, `443`) or range (`8000-9000`).
141
+
-`protocol` (String) The protocol (`tcp` or `udp`).
142
+
-`targets` (Set of String) CIDR blocks allowed to access this port. Use `["0.0.0.0/0", "::/0"]` to allow access from all IPv4/IPv6 addresses. **Note:** Required system ports (22/tcp/input, 4242/udp/input, and 80/tcp/input when using custom domains) must have exactly these two targets and cannot have additional target restrictions.
143
+
-`type` (String) The firewall rule type. Currently only `input` is supported.
144
+
145
+
102
146
<aid="nestedatt--ssh_keys"></a>
103
147
### Nested Schema for `ssh_keys`
104
148
@@ -138,6 +182,18 @@ Read-Only:
138
182
-`port` (String) Service database admin port.
139
183
-`user` (String) Service database admin user.
140
184
185
+
186
+
<aid="nestedatt--firewall_tool_rules"></a>
187
+
### Nested Schema for `firewall_tool_rules`
188
+
189
+
Read-Only:
190
+
191
+
-`name` (String) The tool name.
192
+
-`port` (String) Port number.
193
+
-`protocol` (String) The protocol.
194
+
-`targets` (Set of String) CIDR blocks allowed to access this port.
-`custom_domain_names` (Set of String) Indicate the list of domains for which you want to activate HTTPS / TLS / SSL. You will also need to create a DNS entry on your domain name (from your registrar control panel) pointing to your service. You must create a CNAME record pointing to the service `cname` value. Alternatively, you can create an A record pointing to the service `ipv4` value.
42
78
-`default_password` (String) Set the default password used by you services at **CREATION** time.</br>The password can only contain alphanumeric characters or hyphens `-`. Require at least 10 characters, one uppercase letter, one lowercase letter and one number.</br>If you don't set a password, a random one will be generated by the API.</br>This attribute will **not be synced** after the creation. Use `admin.password` or `database_admin.password` to get the current password after the creation.
43
79
-`firewall_enabled` (Boolean) Service firewall state. **Default**`true`.
80
+
-`firewall_remove_tool_ports` (Boolean) When `true`, removes API-managed tool ports (VS Code, Terminal, etc.) that are not explicitly defined in `firewall_user_rules`. Tool ports explicitly included in `firewall_user_rules` are user-managed and will always be preserved. **Default**`false`. Use temporarily for cleanup, then reset to `false`.
81
+
-`firewall_user_rules` (Attributes Set) Firewall rules for the service. **Required ports (must use exactly `["0.0.0.0/0", "::/0"]`):**`22/tcp` (SSH), `4242/udp` (Nebula VPN), `80/tcp` (Let's Encrypt for custom domains). When `firewall_enabled` is `false`, set to `[]`. **Software default ports:**`80/tcp`, `443/tcp`, `4792/tcp`. (see [below for nested schema](#nestedatt--firewall_user_rules))
44
82
-`keep_backups_on_delete_enabled` (Boolean) Creates a backup and keeps all existing ones after deleting the service. If the project is deleted, the backups will be lost. **Default**`true`.
45
83
-`local_field` (Dynamic) This field is dynamic and can be used to store any custom data that you want to retrieve later in your configuration. It is not used by the provider.
46
84
-`local_field_sensitive` (Dynamic, Sensitive) Same as `local_field` but the value is sensitive.
-`external_backups_update_type` (String) Service external backups update type.
82
120
-`firewall_id` (String) Service firewall id.
83
121
-`firewall_ports` (String) Service firewall ports.
122
+
-`firewall_tool_rules` (Attributes Set) API-managed tool ports (VS Code, Terminal, File Explorer, etc.) that are not explicitly defined in `firewall_user_rules`. These ports are automatically managed by the API and will be preserved unless `firewall_remove_tool_ports` is set to `true`. If you want to manage a tool port yourself, include it explicitly in `firewall_user_rules`. (see [below for nested schema](#nestedatt--firewall_tool_rules))
84
123
-`global_ip` (String) Service global IP.
85
124
-`id` (String) Service identifier handled by the provider. The format can change.
-`traffic_incoming` (Number) Service traffic incoming.
100
139
-`traffic_outgoing` (Number) Service traffic outgoing.
101
140
141
+
<aid="nestedatt--firewall_user_rules"></a>
142
+
### Nested Schema for `firewall_user_rules`
143
+
144
+
Required:
145
+
146
+
-`port` (String) Port number (`80`, `443`) or range (`8000-9000`).
147
+
-`protocol` (String) The protocol (`tcp` or `udp`).
148
+
-`targets` (Set of String) CIDR blocks allowed to access this port. Use `["0.0.0.0/0", "::/0"]` to allow access from all IPv4/IPv6 addresses. **Note:** Required system ports (22/tcp/input, 4242/udp/input, and 80/tcp/input when using custom domains) must have exactly these two targets and cannot have additional target restrictions.
149
+
-`type` (String) The firewall rule type. Currently only `input` is supported.
150
+
151
+
102
152
<aid="nestedatt--ssh_keys"></a>
103
153
### Nested Schema for `ssh_keys`
104
154
@@ -138,6 +188,18 @@ Read-Only:
138
188
-`port` (String) Service database admin port.
139
189
-`user` (String) Service database admin user.
140
190
191
+
192
+
<aid="nestedatt--firewall_tool_rules"></a>
193
+
### Nested Schema for `firewall_tool_rules`
194
+
195
+
Read-Only:
196
+
197
+
-`name` (String) The tool name.
198
+
-`port` (String) Port number.
199
+
-`protocol` (String) The protocol.
200
+
-`targets` (Set of String) CIDR blocks allowed to access this port.
-`custom_domain_names` (Set of String) Indicate the list of domains for which you want to activate HTTPS / TLS / SSL. You will also need to create a DNS entry on your domain name (from your registrar control panel) pointing to your service. You must create a CNAME record pointing to the service `cname` value. Alternatively, you can create an A record pointing to the service `ipv4` value.
42
72
-`default_password` (String) Set the default password used by you services at **CREATION** time.</br>The password can only contain alphanumeric characters or hyphens `-`. Require at least 10 characters, one uppercase letter, one lowercase letter and one number.</br>If you don't set a password, a random one will be generated by the API.</br>This attribute will **not be synced** after the creation. Use `admin.password` or `database_admin.password` to get the current password after the creation.
43
73
-`firewall_enabled` (Boolean) Service firewall state. **Default**`true`.
74
+
-`firewall_remove_tool_ports` (Boolean) When `true`, removes API-managed tool ports (VS Code, Terminal, etc.) that are not explicitly defined in `firewall_user_rules`. Tool ports explicitly included in `firewall_user_rules` are user-managed and will always be preserved. **Default**`false`. Use temporarily for cleanup, then reset to `false`.
75
+
-`firewall_user_rules` (Attributes Set) Firewall rules for the service. **Required ports (must use exactly `["0.0.0.0/0", "::/0"]`):**`22/tcp` (SSH), `4242/udp` (Nebula VPN), `80/tcp` (Let's Encrypt for custom domains). When `firewall_enabled` is `false`, set to `[]`. **Software default ports:**`80/tcp`, `443/tcp`. (see [below for nested schema](#nestedatt--firewall_user_rules))
44
76
-`keep_backups_on_delete_enabled` (Boolean) Creates a backup and keeps all existing ones after deleting the service. If the project is deleted, the backups will be lost. **Default**`true`.
45
77
-`local_field` (Dynamic) This field is dynamic and can be used to store any custom data that you want to retrieve later in your configuration. It is not used by the provider.
46
78
-`local_field_sensitive` (Dynamic, Sensitive) Same as `local_field` but the value is sensitive.
-`external_backups_update_type` (String) Service external backups update type.
82
114
-`firewall_id` (String) Service firewall id.
83
115
-`firewall_ports` (String) Service firewall ports.
116
+
-`firewall_tool_rules` (Attributes Set) API-managed tool ports (VS Code, Terminal, File Explorer, etc.) that are not explicitly defined in `firewall_user_rules`. These ports are automatically managed by the API and will be preserved unless `firewall_remove_tool_ports` is set to `true`. If you want to manage a tool port yourself, include it explicitly in `firewall_user_rules`. (see [below for nested schema](#nestedatt--firewall_tool_rules))
84
117
-`global_ip` (String) Service global IP.
85
118
-`id` (String) Service identifier handled by the provider. The format can change.
-`traffic_incoming` (Number) Service traffic incoming.
100
133
-`traffic_outgoing` (Number) Service traffic outgoing.
101
134
135
+
<aid="nestedatt--firewall_user_rules"></a>
136
+
### Nested Schema for `firewall_user_rules`
137
+
138
+
Required:
139
+
140
+
-`port` (String) Port number (`80`, `443`) or range (`8000-9000`).
141
+
-`protocol` (String) The protocol (`tcp` or `udp`).
142
+
-`targets` (Set of String) CIDR blocks allowed to access this port. Use `["0.0.0.0/0", "::/0"]` to allow access from all IPv4/IPv6 addresses. **Note:** Required system ports (22/tcp/input, 4242/udp/input, and 80/tcp/input when using custom domains) must have exactly these two targets and cannot have additional target restrictions.
143
+
-`type` (String) The firewall rule type. Currently only `input` is supported.
144
+
145
+
102
146
<aid="nestedatt--ssh_keys"></a>
103
147
### Nested Schema for `ssh_keys`
104
148
@@ -138,6 +182,18 @@ Read-Only:
138
182
-`port` (String) Service database admin port.
139
183
-`user` (String) Service database admin user.
140
184
185
+
186
+
<aid="nestedatt--firewall_tool_rules"></a>
187
+
### Nested Schema for `firewall_tool_rules`
188
+
189
+
Read-Only:
190
+
191
+
-`name` (String) The tool name.
192
+
-`port` (String) Port number.
193
+
-`protocol` (String) The protocol.
194
+
-`targets` (Set of String) CIDR blocks allowed to access this port.
0 commit comments