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
@@ -55,11 +69,21 @@ The following arguments are supported:
55
69
56
70
-`disable_backup` - (Optional) Disable automated backup for the database instance.
57
71
72
+
-`backup_schedule_frequency` - (Optional) Backup schedule frequency in hours.
73
+
74
+
-`backup_schedule_retention` - (Optional) Backup schedule retention in days.
75
+
58
76
-`settings` - Map of engine settings to be set.
59
77
60
78
-`tags` - (Optional) The tags associated with the Database Instance.
61
79
62
-
-`region` - (Defaults to [provider](../index.md#region)`region`) The [region](../guides/regions_and_zones.md#regions) in which the Database Instance should be created.
80
+
-`private_network` - (Optional) The private_network associated with the Database Instance.
81
+
82
+
The `private_network` block supports:
83
+
84
+
-`ip` - (Required) The ip range to assign to my instance in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
85
+
-`pn_id` - (Required) The private_network ID in which the Database Instance should be connected.
86
+
- The private network should be created in the same region and locality.
63
87
64
88
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the Database Instance is associated with.
Copy file name to clipboardexpand all lines: docs/resources/vpc_gateway_network.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,9 @@ The following arguments are supported:
44
44
-`gateway_id` - (Required) The ID of the public gateway.
45
45
-`private_network_id` - (Required) The ID of the private network.
46
46
-`dhcp_id` - (Required) The ID of the public gateway DHCP config.
47
-
-`enable_masquerade` - (Defaults to false) Enable masquerade on this network
47
+
-`enable_masquerade` - (Defaults to true) Enable masquerade on this network
48
48
-`enable_dhcp` - (Defaults to true) Enable DHCP config on this network. It requires DHCP id.
49
+
-`cleanup_dhcp` - (Defaults to false) Remove DHCP config on this network on destroy. It requires DHCP id.
49
50
-`static_address` - Enable DHCP config on this network
50
51
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the gateway network should be created.
51
52
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the gateway network is associated with.
-`gateway_id` - (Required) The ID of the public gateway.
49
+
-`private_ip` - (Required) The Private IP to forward data to (IP address).
50
+
-`public_port` - (Required) The Public port to listen on.
51
+
-`private_port` - (Required) The Private port to translate to.
52
+
-`protocol` - (Defaults to both) The Protocol the rule should apply to. Possible values are both, tcp and udp.
53
+
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the public gateway DHCP config should be created.
54
+
55
+
## Attributes Reference
56
+
57
+
In addition to all above arguments, the following attributes are exported:
58
+
59
+
-`id` - The ID of the public gateway DHCP config.
60
+
-`organization_id` - The organization ID the pat rule config is associated with.
61
+
-`created_at` - The date and time of the creation of the pat rule config.
62
+
-`updated_at` - The date and time of the last update of the pat rule config.
63
+
64
+
## Import
65
+
66
+
Public gateway PAT rules config can be imported using the `{zone}/{id}`, e.g.
0 commit comments