terraform-provider-baiducloud icon indicating copy to clipboard operation
terraform-provider-baiducloud copied to clipboard

bec support vpc networkType

Open lev-gc opened this issue 1 year ago • 3 comments

Now we can create bec with vpc network type by the param deployInstances[].networkType and deployInstances[].vpcId/subnetId when using openapi.

And it's suppoted in the Go SDK in the vendor dir, but not in this provider (service/bec/data_source_vm_instances.go).

Will support?

lev-gc avatar Jun 30 '23 03:06 lev-gc

I noticed you mentioned data_source_vm_instances.go, so what you need is to filter the instance list through networkType/vpcId/subnetId, is that right?

Or specify networkType when creating an instance?

BenBeng avatar Jun 30 '23 04:06 BenBeng

My mistake. I mean resource_vm_instance.go

lev-gc avatar Jun 30 '23 10:06 lev-gc

API and SDK have been verified, and provider will be updated later.

BenBeng avatar Jul 03 '23 12:07 BenBeng