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
{{ message }}
This repository was archived by the owner on Mar 1, 2023. It is now read-only.
// is_parent = "true" // if is_parent = true interface cant be detached, and always connected first
39
40
// }
40
41
41
42
keypair_name = "test" // your keypair name
@@ -89,13 +90,14 @@ Optional:
89
90
90
91
-**existing_fip_id** (String)
91
92
-**fip_source** (String)
93
+
-**is_parent** (Boolean) If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation
92
94
-**network_id** (String) required if type is 'subnet' or 'any_subnet'
95
+
-**order** (Number) Order of attaching interface. Trunk interface always attached first, fields affect only on creation
93
96
-**subnet_id** (String) required if type is 'subnet'
94
97
95
98
Read-Only:
96
99
97
100
-**ip_address** (String)
98
-
-**is_trunk** (Boolean) Calculated after creation. Can't detach interface if is_trunk true
Description: fmt.Sprintf("Avalilable value is '%s', '%s'", types.SubnetInterfaceType, types.ExternalInterfaceType),
124
124
},
125
-
"is_trunk": {
125
+
"is_parent": {
126
126
Type: schema.TypeBool,
127
127
Computed: true,
128
-
Description: "Calculated after creation. Can't detach interface if is_trunk true",
128
+
Optional: true,
129
+
Description: "If not set will be calculated after creation. Trunk interface always attached first. Can't detach interface if is_parent true. Fields affect only on creation",
130
+
},
131
+
"order": {
132
+
Type: schema.TypeInt,
133
+
Optional: true,
134
+
Description: "Order of attaching interface. Trunk interface always attached first, fields affect only on creation",
129
135
},
130
136
"network_id": {
131
137
Type: schema.TypeString,
@@ -261,9 +267,11 @@ func resourceBmInstanceCreate(ctx context.Context, d *schema.ResourceData, m int
0 commit comments