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
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the Private Network should be attached.
52
+
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the Project the Private Network attachment is associated with.
53
+
-`lb_id` - (Required) The load-balancer ID to attach the private network to.
54
+
-`private_network_id` - (Required) The private network ID to attach.
55
+
-`ipam_ip_ids` - (Required) The IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
56
+
57
+
## Attributes Reference
58
+
59
+
In addition to all arguments above, the following attributes are exported:
60
+
61
+
-`id` - The ID of the Private Network attachment, which is of the form `{zone}/{lb-id}/{private-network-id}` e.g. `fr-par-1/11111111-1111-1111-1111-111111111111/11111111-1111-1111-1111-111111111111`
62
+
-`status` - The status of the Private Network attachment.
63
+
-`created_at` - The date and time of the creation of the Private Network attachment (RFC 3339 format).
64
+
-`updated_at` - The date and time of the last update of the Private Network attachment (RFC 3339 format).
65
+
66
+
## Import
67
+
68
+
Private Network attachments can be imported using `{zone}/{lb-id}/{private-network-id}`, e.g.
Description: "This boolean determines if private network attachments should be managed externally through the `scaleway_lb_private_network` resource. When set, `private_network` must not be configured in this resource",
178
+
ConflictsWith: []string{"private_network"},
179
+
},
171
180
"ssl_compatibility_level": {
172
181
Type: schema.TypeString,
173
182
Optional: true,
@@ -265,22 +274,24 @@ func resourceLbCreate(ctx context.Context, d *schema.ResourceData, m any) diag.D
0 commit comments