Skip to content

Commit 2dbae5c

Browse files
authored
feat: support azure byon (#92)
## Motivation Azure BYON is now supported.
1 parent 61603fe commit 2dbae5c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cloud/resource_cloud_environment.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,6 @@ func resourceCloudEnvironmentCreate(ctx context.Context, d *schema.ResourceData,
267267
return diag.FromErr(fmt.Errorf("ERROR_CREATE_CLOUD_ENVIRONMENT: " + "One of network.id or network.cidr must be set"))
268268
}
269269

270-
if cloudEnvironment.Spec.Network.ID != "" {
271-
if cc.Spec.ConnectionType == cloudv1alpha1.ConnectionTypeAzure {
272-
return diag.FromErr(fmt.Errorf("ERROR_CREATE_CLOUD_ENVIRONMENT: Azure doesn't support specify network id yet. Please use network cidr"))
273-
}
274-
}
275-
276270
expandDns := func() error {
277271
for _, l := range dns {
278272
if l == nil {

0 commit comments

Comments
 (0)