Changes for v2.0.0 new major + CHANGELOG

This commit is contained in:
Arthur Amstutz 2025-03-04 10:33:09 +00:00
parent 25d30b709b
commit c64dbcb416
255 changed files with 328 additions and 274 deletions

View file

@ -1,3 +1,59 @@
## 2.0.0 (March 4, 2025)
🎉 Features:
* New resource: `ovh_domain_name` ([#837](https://github.com/ovh/terraform-provider-ovh/pull/837))
* New resource: `ovh_domain_name_servers` ([#870](https://github.com/ovh/terraform-provider-ovh/pull/870))
* New resource: `ovh_domain_ds_records` ([#870](https://github.com/ovh/terraform-provider-ovh/pull/870))
* New resource: `ovh_cloud_project_storage` ([#834](https://github.com/ovh/terraform-provider-ovh/pull/834), [#858](https://github.com/ovh/terraform-provider-ovh/pull/858))
* New resource: `ovh_cloud_project_loadbalancer` ([#855](https://github.com/ovh/terraform-provider-ovh/pull/855))
* New resource: `ovh_cloud_project_rancher` ([#872](https://github.com/ovh/terraform-provider-ovh/pull/872))
* New resource: `ovh_dbaas_logs_role` ([#859](https://github.com/ovh/terraform-provider-ovh/pull/859))
* New resource: `ovh_dbaas_logs_role_permission_stream` ([#859](https://github.com/ovh/terraform-provider-ovh/pull/859))
* New resource: `ovh_vrack_ipv6` ([#838](https://github.com/ovh/terraform-provider-ovh/pull/838))
* New resource: `ovh_vrack_vrackservices` ([#839](https://github.com/ovh/terraform-provider-ovh/pull/839))
* New resource: `ovh_vrack_ovhcloudconnect` ([#875](https://github.com/ovh/terraform-provider-ovh/pull/875))
* New resource: `ovh_dedicated_server_reinstall_task` ([#835](https://github.com/ovh/terraform-provider-ovh/pull/835))
* New datasource: `ovh_cloud_project_flavors` ([#865](https://github.com/ovh/terraform-provider-ovh/pull/865))
* New datasource: `ovh_cloud_project_loadbalancer_flavors` ([#866](https://github.com/ovh/terraform-provider-ovh/pull/866))
* New datasource: `ovh_cloud_project_storage` ([#867](https://github.com/ovh/terraform-provider-ovh/pull/867))
* New datasource: `ovh_cloud_project_storages` ([#867](https://github.com/ovh/terraform-provider-ovh/pull/867))
* New datasource: `ovh_cloud_project_rancher` ([#876](https://github.com/ovh/terraform-provider-ovh/pull/876))
* New datasource: `ovh_cloud_project_rancher_version` ([#874](https://github.com/ovh/terraform-provider-ovh/pull/874))
* New datasource: `ovh_cloud_project_rancher_plan` ([#874](https://github.com/ovh/terraform-provider-ovh/pull/874))
* New datasource: `ovh_ovhcloud_connect` ([#871](https://github.com/ovh/terraform-provider-ovh/pull/871))
* New datasource: `ovh_ovhcloud_connects` ([#871](https://github.com/ovh/terraform-provider-ovh/pull/871))
💪 Improvements:
* `r/ovh_cloud_project_instance`: Add `availability_zone` field ([#863](https://github.com/ovh/terraform-provider-ovh/pull/863))
* `d/ovh_cloud_project_instance`: Add `availability_zone` field ([#863](https://github.com/ovh/terraform-provider-ovh/pull/863))
* `d/ovh_cloud_project_instances`: Add `availability_zone` field ([#863](https://github.com/ovh/terraform-provider-ovh/pull/863))
🐜 Bug fixes:
* `r/ovh_cloud_project_instance`: Correctly handle SSH keys ([#861](https://github.com/ovh/terraform-provider-ovh/pull/861))
* `r/ovh_cloud_project_kube`: Increase update timeout ([#868](https://github.com/ovh/terraform-provider-ovh/pull/868))
* `r/ovh_ip_move`: Fix import and add documentation ([#864](https://github.com/ovh/terraform-provider-ovh/pull/864))
🧨 Breaking changes:
__In the context of IAM integration across all OVHcloud products, we are deprecating the routes in the API section `/me` that are used to store/retrieve information about dedicated server installation templates and partition schemes.
As a result, the resources `ovh_me_installation_template`, `ovh_me_installation_template_partition_scheme`, `ovh_me_installation_template_partition_scheme_hardware_raid` and `ovh_me_installation_template_partition_scheme_partition` are removed in favor of the new resource `ovh_dedicated_server_reinstall_task` and new parameters in resource `ovh_dedicated_server`.
This will simplify the reinstallation and OS change on dedicated servers, especially when partitioning needs to be customized.__
* `r/ovh_dedicated_server`: The fields used to reinstall a dedicated server have been modified do to API changes (the call [POST /dedicated/server/{serviceName}/install/start](https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/install/start) will be replaced by [POST /dedicated/server/{serviceName}/reinstall](https://eu.api.ovh.com/console/?section=%2Fdedicated%2Fserver&branch=v1#post-/dedicated/server/-serviceName-/reinstall)). In this context, the following fields have been removed: `user_metadata`, `template_name`, `partition_scheme_name`, `details`, and the following fields are replacing them: `os`, `storage`, `customizations`, and `properties` ([#835](https://github.com/ovh/terraform-provider-ovh/pull/835))
* Resource `ovh_dedicated_server_install_task` has been replaced by the new resource `ovh_dedicated_server_reinstall_task` ([#835](https://github.com/ovh/terraform-provider-ovh/pull/835))
* Resources removed: `ovh_me_installation_template`, `ovh_me_installation_template_partition_scheme`, `ovh_me_installation_template_partition_scheme_hardware_raid`, `ovh_me_installation_template_partition_scheme_partition` ([#835](https://github.com/ovh/terraform-provider-ovh/pull/835))
📚 Documentation:
* Reorganization of the documentation ([#840](https://github.com/ovh/terraform-provider-ovh/pull/840), [#873](https://github.com/ovh/terraform-provider-ovh/pull/873))
* `r/ovh_vps`: Fix typo in documentation ([#836](https://github.com/ovh/terraform-provider-ovh/pull/836))
❤️ Thanks for your contributions ❤️
## 1.6.0 (February 6, 2025)
⚙️ General:

4
go.mod
View file

@ -1,4 +1,4 @@
module github.com/ovh/terraform-provider-ovh
module github.com/ovh/terraform-provider-ovh/v2
require (
github.com/google/go-cmp v0.6.0
@ -71,5 +71,3 @@ require (
go 1.22.0
toolchain go1.22.8
retract v0.36.0 // OVH_ENDPOINT environment variable prevent a correct usage of the terraform provider

View file

@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server"
"github.com/hashicorp/terraform-plugin-mux/tf5to6server"
"github.com/hashicorp/terraform-plugin-mux/tf6muxserver"
"github.com/ovh/terraform-provider-ovh/ovh"
"github.com/ovh/terraform-provider-ovh/v2/ovh"
)
func main() {

View file

@ -7,7 +7,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectCapabilitiesContainerRegistry() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectContainerRegistries() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectContainerRegistryUsers() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseCapabilities() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseCertificates() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseDatabase() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseDatabases() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseIntegration() *schema.Resource {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseIntegrations() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseKafkaACL() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseKafkaAcls() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseKafkaSchemaRegistryAcl() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseKafkaSchemaRegistryAcls() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseKafkaTopic() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseKafkaTopics() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseKafkaUserAccess() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseLogSubscription() *schema.Resource {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseLogSubscriptions() *schema.Resource {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseM3dbNamespaces() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseMongodbPrometheus() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseOpensearchPattern() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseOpensearchPatterns() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabasePostgresqlConnectionPools() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabasePrometheus() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectDatabaseUser() *schema.Resource {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabaseUsers() *schema.Resource {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectDatabases() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectFlavorsDataSource)(nil)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectFloatingipsDataSource)(nil)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -6,7 +6,7 @@ import (
"context"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
func CloudProjectGatewayInterfaceDataSourceSchema(ctx context.Context) schema.Schema {

View file

@ -5,7 +5,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectInstance() *schema.Resource {

View file

@ -7,8 +7,8 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectInstances() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectKube() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectKubeIPRestrictions() *schema.Resource {

View file

@ -5,7 +5,7 @@ import (
"log"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectKubeNodepool() *schema.Resource {

View file

@ -7,8 +7,8 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectKubeNodepoolNodes() *schema.Resource {

View file

@ -7,8 +7,8 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectKubeNodes() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectLoadbalancerFlavorsDataSource)(nil)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectLoadbalancersDataSource)(nil)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectNetworkPrivateSubnetsDataSource)(nil)

View file

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectNetworkPrivatesDataSource)(nil)

View file

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
func CloudProjectRancherDataSourceSchema(ctx context.Context) schema.Schema {

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/go-ovh/ovh"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectRegion() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceCloudProjectRegionLoadbalancerLogSubscriptions() *schema.Resource {

View file

@ -5,7 +5,7 @@ package ovh
import (
"context"
"github.com/hashicorp/terraform-plugin-framework/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func datasourceCloudProjectUser() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataCloudProjectUserS3Credential() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataCloudProjectUserS3Policy() *schema.Resource {

View file

@ -9,8 +9,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func datasourceCloudProjectUsers() *schema.Resource {

View file

@ -5,7 +5,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectVolumesDataSource)(nil)

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceCloudProjectVrack() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-framework/datasource"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*cloudProjectsDataSource)(nil)

View file

@ -5,7 +5,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceDbaasLogsCluster() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-log/tflog"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
var _ datasource.DataSourceWithConfigure = (*dbaasLogsClusterRetentionDataSource)(nil)

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
func DbaasLogsClusterRetentionDataSourceSchema(ctx context.Context) schema.Schema {

View file

@ -6,7 +6,7 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceDbaasLogsClusters() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"strings"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceDbaasLogsInputEngine() *schema.Resource {

View file

@ -5,7 +5,7 @@ import (
"log"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceDedicatedCeph() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/go-ovh/ovh"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceDedicatedInstallationTemplate() *schema.Resource {

View file

@ -5,7 +5,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceDedicatedInstallationTemplates() *schema.Resource {

View file

@ -7,8 +7,8 @@ import (
"strconv"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceDedicatedServerBoots() *schema.Resource {

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

View file

@ -5,7 +5,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceDedicatedServers() *schema.Resource {

View file

@ -4,7 +4,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceIamPermissionsGroups() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceIamPolicies() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceIamReferenceResourceType() *schema.Resource {

View file

@ -5,7 +5,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceIamResourceGroups() *schema.Resource {

View file

@ -4,7 +4,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -5,7 +5,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"

View file

@ -4,7 +4,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -6,8 +6,8 @@ import (
"net/url"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceIpLoadbalancing() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"strconv"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceIpLoadbalancingVrackNetworks() *schema.Resource {

View file

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers"
)
func dataSourceMeApiOauth2Client() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceMeApiOauth2Clients() *schema.Resource {

View file

@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceMeIdentityGroups() *schema.Resource {

View file

@ -6,7 +6,7 @@ import (
"sort"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/ovh/terraform-provider-ovh/ovh/helpers/hashcode"
"github.com/ovh/terraform-provider-ovh/v2/ovh/helpers/hashcode"
)
func dataSourceMeIdentityUsers() *schema.Resource {

View file

@ -3,7 +3,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -2,7 +2,7 @@ package ovh
import (
"context"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
)

View file

@ -3,7 +3,7 @@ package ovh
import (
"context"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
)
func OkmsServiceKeyAttributes(ctx context.Context) map[string]schema.Attribute {

View file

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/hashicorp/terraform-plugin-go/tftypes"
ovhtypes "github.com/ovh/terraform-provider-ovh/ovh/types"
ovhtypes "github.com/ovh/terraform-provider-ovh/v2/ovh/types"
"strings"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"

Some files were not shown because too many files have changed in this diff Show more