Move vgpu from cloudapi to cloudbroker
This commit is contained in:
@@ -30,7 +30,6 @@ import (
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudapi/locations"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudapi/rg"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudapi/snapshot"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudapi/vgpu"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudapi/vins"
|
||||
)
|
||||
|
||||
@@ -41,7 +40,6 @@ func NewDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_kvmvm": kvmvm.DataSourceCompute(),
|
||||
"decort_vins": vins.DataSourceVins(),
|
||||
"decort_snapshot_list": snapshot.DataSourceSnapshotList(),
|
||||
"decort_vgpu": vgpu.DataSourceVGPU(),
|
||||
"decort_disk": disks.DataSourceDisk(),
|
||||
"decort_disk_list": disks.DataSourceDiskList(),
|
||||
"decort_rg_list": rg.DataSourceRgList(),
|
||||
|
||||
@@ -26,7 +26,9 @@ import (
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/grid"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/image"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/pcidevice"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/rg"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/sep"
|
||||
"github.com/rudecs/terraform-provider-decort/internal/service/cloudbroker/vgpu"
|
||||
)
|
||||
|
||||
func NewDataSourcesMap() map[string]*schema.Resource {
|
||||
@@ -55,6 +57,8 @@ func NewDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_sep_disk_list": sep.DataSourceSepDiskList(),
|
||||
"decort_sep_config": sep.DataSourceSepConfig(),
|
||||
"decort_sep_pool": sep.DataSourceSepPool(),
|
||||
"decort_vgpu": vgpu.DataSourceVGPU(),
|
||||
"decort_rg_list": rg.DataSourceRgList(),
|
||||
// "decort_pfw": dataSourcePfw(),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user