diff --git a/examples/main.tf b/examples/main.tf index 678e67e..50e47de 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { cudo = { - source = "cudo.org/v1/cudo" + source = "CudoVentures/cudo" } } } diff --git a/go.mod b/go.mod index f84f5ef..b364a60 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module cudo.org/v1/terraform-provider-cudo +module github.com/CudoVentures/terraform-provider-cudo go 1.19 diff --git a/internal/client/api_keys/delete_api_key_responses.go b/internal/client/api_keys/delete_api_key_responses.go index 08bd319..52a56d8 100644 --- a/internal/client/api_keys/delete_api_key_responses.go +++ b/internal/client/api_keys/delete_api_key_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // DeleteAPIKeyReader is a Reader for the DeleteAPIKey structure. diff --git a/internal/client/api_keys/generate_api_key_parameters.go b/internal/client/api_keys/generate_api_key_parameters.go index ba80a73..50f86f8 100644 --- a/internal/client/api_keys/generate_api_key_parameters.go +++ b/internal/client/api_keys/generate_api_key_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // NewGenerateAPIKeyParams creates a new GenerateAPIKeyParams object, diff --git a/internal/client/api_keys/generate_api_key_responses.go b/internal/client/api_keys/generate_api_key_responses.go index 590eaea..0a4ec0b 100644 --- a/internal/client/api_keys/generate_api_key_responses.go +++ b/internal/client/api_keys/generate_api_key_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GenerateAPIKeyReader is a Reader for the GenerateAPIKey structure. diff --git a/internal/client/api_keys/list_api_keys_responses.go b/internal/client/api_keys/list_api_keys_responses.go index acfec1d..d9455f8 100644 --- a/internal/client/api_keys/list_api_keys_responses.go +++ b/internal/client/api_keys/list_api_keys_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListAPIKeysReader is a Reader for the ListAPIKeys structure. diff --git a/internal/client/cudo_compute_service_client.go b/internal/client/cudo_compute_service_client.go index 375f1b1..bd10041 100644 --- a/internal/client/cudo_compute_service_client.go +++ b/internal/client/cudo_compute_service_client.go @@ -10,13 +10,13 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/client/api_keys" - "cudo.org/v1/terraform-provider-cudo/internal/client/permissions" - "cudo.org/v1/terraform-provider-cudo/internal/client/projects" - "cudo.org/v1/terraform-provider-cudo/internal/client/search" - "cudo.org/v1/terraform-provider-cudo/internal/client/ssh_keys" - "cudo.org/v1/terraform-provider-cudo/internal/client/user" - "cudo.org/v1/terraform-provider-cudo/internal/client/virtual_machines" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/api_keys" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/permissions" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/projects" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/search" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/ssh_keys" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/user" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/virtual_machines" ) // Default cudo compute service HTTP client. diff --git a/internal/client/permissions/add_billing_account_user_permission_responses.go b/internal/client/permissions/add_billing_account_user_permission_responses.go index 40dd96f..6d677b3 100644 --- a/internal/client/permissions/add_billing_account_user_permission_responses.go +++ b/internal/client/permissions/add_billing_account_user_permission_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // AddBillingAccountUserPermissionReader is a Reader for the AddBillingAccountUserPermission structure. diff --git a/internal/client/permissions/add_data_center_user_permission_responses.go b/internal/client/permissions/add_data_center_user_permission_responses.go index 1b863f8..20063c3 100644 --- a/internal/client/permissions/add_data_center_user_permission_responses.go +++ b/internal/client/permissions/add_data_center_user_permission_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // AddDataCenterUserPermissionReader is a Reader for the AddDataCenterUserPermission structure. diff --git a/internal/client/permissions/add_project_user_permission_responses.go b/internal/client/permissions/add_project_user_permission_responses.go index 812a575..cdd22fc 100644 --- a/internal/client/permissions/add_project_user_permission_responses.go +++ b/internal/client/permissions/add_project_user_permission_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // AddProjectUserPermissionReader is a Reader for the AddProjectUserPermission structure. diff --git a/internal/client/permissions/list_user_permissions_responses.go b/internal/client/permissions/list_user_permissions_responses.go index 30e8dc4..1a7479f 100644 --- a/internal/client/permissions/list_user_permissions_responses.go +++ b/internal/client/permissions/list_user_permissions_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListUserPermissionsReader is a Reader for the ListUserPermissions structure. diff --git a/internal/client/permissions/remove_billing_account_user_permission_responses.go b/internal/client/permissions/remove_billing_account_user_permission_responses.go index ffe0677..c65856c 100644 --- a/internal/client/permissions/remove_billing_account_user_permission_responses.go +++ b/internal/client/permissions/remove_billing_account_user_permission_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // RemoveBillingAccountUserPermissionReader is a Reader for the RemoveBillingAccountUserPermission structure. diff --git a/internal/client/permissions/remove_project_user_permission_responses.go b/internal/client/permissions/remove_project_user_permission_responses.go index 4cda5cd..401cf94 100644 --- a/internal/client/permissions/remove_project_user_permission_responses.go +++ b/internal/client/permissions/remove_project_user_permission_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // RemoveProjectUserPermissionReader is a Reader for the RemoveProjectUserPermission structure. diff --git a/internal/client/projects/buy_compute_responses.go b/internal/client/projects/buy_compute_responses.go index 08fbfac..14a77a6 100644 --- a/internal/client/projects/buy_compute_responses.go +++ b/internal/client/projects/buy_compute_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // BuyComputeReader is a Reader for the BuyCompute structure. diff --git a/internal/client/projects/create_project_parameters.go b/internal/client/projects/create_project_parameters.go index 4b8ef80..7a2b529 100644 --- a/internal/client/projects/create_project_parameters.go +++ b/internal/client/projects/create_project_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // NewCreateProjectParams creates a new CreateProjectParams object, diff --git a/internal/client/projects/create_project_responses.go b/internal/client/projects/create_project_responses.go index 31f90d2..72566b5 100644 --- a/internal/client/projects/create_project_responses.go +++ b/internal/client/projects/create_project_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // CreateProjectReader is a Reader for the CreateProject structure. diff --git a/internal/client/projects/delete_project_responses.go b/internal/client/projects/delete_project_responses.go index 650c44f..b5e2211 100644 --- a/internal/client/projects/delete_project_responses.go +++ b/internal/client/projects/delete_project_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // DeleteProjectReader is a Reader for the DeleteProject structure. diff --git a/internal/client/projects/get_project_current_spend_responses.go b/internal/client/projects/get_project_current_spend_responses.go index a769b71..5db36f8 100644 --- a/internal/client/projects/get_project_current_spend_responses.go +++ b/internal/client/projects/get_project_current_spend_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetProjectCurrentSpendReader is a Reader for the GetProjectCurrentSpend structure. diff --git a/internal/client/projects/get_project_responses.go b/internal/client/projects/get_project_responses.go index d72c1f8..6740718 100644 --- a/internal/client/projects/get_project_responses.go +++ b/internal/client/projects/get_project_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetProjectReader is a Reader for the GetProject structure. diff --git a/internal/client/projects/get_project_spend_details_responses.go b/internal/client/projects/get_project_spend_details_responses.go index 4d84b57..27dd6db 100644 --- a/internal/client/projects/get_project_spend_details_responses.go +++ b/internal/client/projects/get_project_spend_details_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetProjectSpendDetailsReader is a Reader for the GetProjectSpendDetails structure. diff --git a/internal/client/projects/get_project_spend_history_responses.go b/internal/client/projects/get_project_spend_history_responses.go index 1314f3e..c3627fb 100644 --- a/internal/client/projects/get_project_spend_history_responses.go +++ b/internal/client/projects/get_project_spend_history_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetProjectSpendHistoryReader is a Reader for the GetProjectSpendHistory structure. diff --git a/internal/client/projects/list_project_ssh_keys_responses.go b/internal/client/projects/list_project_ssh_keys_responses.go index 0107466..6a3f613 100644 --- a/internal/client/projects/list_project_ssh_keys_responses.go +++ b/internal/client/projects/list_project_ssh_keys_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListProjectSSHKeysReader is a Reader for the ListProjectSSHKeys structure. diff --git a/internal/client/projects/list_projects_responses.go b/internal/client/projects/list_projects_responses.go index 898b777..e3864ff 100644 --- a/internal/client/projects/list_projects_responses.go +++ b/internal/client/projects/list_projects_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListProjectsReader is a Reader for the ListProjects structure. diff --git a/internal/client/projects/update_project_responses.go b/internal/client/projects/update_project_responses.go index 7fe2d49..edee29e 100644 --- a/internal/client/projects/update_project_responses.go +++ b/internal/client/projects/update_project_responses.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // UpdateProjectReader is a Reader for the UpdateProject structure. diff --git a/internal/client/search/list_o_s_images_responses.go b/internal/client/search/list_o_s_images_responses.go index 5fa6690..cac93ac 100644 --- a/internal/client/search/list_o_s_images_responses.go +++ b/internal/client/search/list_o_s_images_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListOSImagesReader is a Reader for the ListOSImages structure. diff --git a/internal/client/search/list_regions_responses.go b/internal/client/search/list_regions_responses.go index 1472256..fc67536 100644 --- a/internal/client/search/list_regions_responses.go +++ b/internal/client/search/list_regions_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListRegionsReader is a Reader for the ListRegions structure. diff --git a/internal/client/search/search_compute_responses.go b/internal/client/search/search_compute_responses.go index 371bac2..d693358 100644 --- a/internal/client/search/search_compute_responses.go +++ b/internal/client/search/search_compute_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // SearchComputeReader is a Reader for the SearchCompute structure. diff --git a/internal/client/ssh_keys/create_ssh_key_parameters.go b/internal/client/ssh_keys/create_ssh_key_parameters.go index 575c99b..93ab6f2 100644 --- a/internal/client/ssh_keys/create_ssh_key_parameters.go +++ b/internal/client/ssh_keys/create_ssh_key_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // NewCreateSSHKeyParams creates a new CreateSSHKeyParams object, diff --git a/internal/client/ssh_keys/create_ssh_key_responses.go b/internal/client/ssh_keys/create_ssh_key_responses.go index a830acf..362bedc 100644 --- a/internal/client/ssh_keys/create_ssh_key_responses.go +++ b/internal/client/ssh_keys/create_ssh_key_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // CreateSSHKeyReader is a Reader for the CreateSSHKey structure. diff --git a/internal/client/ssh_keys/delete_ssh_key_responses.go b/internal/client/ssh_keys/delete_ssh_key_responses.go index 034956e..79d9fa2 100644 --- a/internal/client/ssh_keys/delete_ssh_key_responses.go +++ b/internal/client/ssh_keys/delete_ssh_key_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // DeleteSSHKeyReader is a Reader for the DeleteSSHKey structure. diff --git a/internal/client/ssh_keys/get_ssh_key_responses.go b/internal/client/ssh_keys/get_ssh_key_responses.go index 489fd7c..1f9eb4e 100644 --- a/internal/client/ssh_keys/get_ssh_key_responses.go +++ b/internal/client/ssh_keys/get_ssh_key_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetSSHKeyReader is a Reader for the GetSSHKey structure. diff --git a/internal/client/ssh_keys/list_ssh_keys_responses.go b/internal/client/ssh_keys/list_ssh_keys_responses.go index f9bbbb8..f284e7c 100644 --- a/internal/client/ssh_keys/list_ssh_keys_responses.go +++ b/internal/client/ssh_keys/list_ssh_keys_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListSSHKeysReader is a Reader for the ListSSHKeys structure. diff --git a/internal/client/user/create_identity_verification_session_responses.go b/internal/client/user/create_identity_verification_session_responses.go index 2a92d74..c96dbed 100644 --- a/internal/client/user/create_identity_verification_session_responses.go +++ b/internal/client/user/create_identity_verification_session_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // CreateIdentityVerificationSessionReader is a Reader for the CreateIdentityVerificationSession structure. diff --git a/internal/client/user/delete_user_responses.go b/internal/client/user/delete_user_responses.go index f3f4b1f..9a3633f 100644 --- a/internal/client/user/delete_user_responses.go +++ b/internal/client/user/delete_user_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // DeleteUserReader is a Reader for the DeleteUser structure. diff --git a/internal/client/user/get_responses.go b/internal/client/user/get_responses.go index 959ba3c..ef36b3d 100644 --- a/internal/client/user/get_responses.go +++ b/internal/client/user/get_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetReader is a Reader for the Get structure. diff --git a/internal/client/virtual_machines/count_instances_responses.go b/internal/client/virtual_machines/count_instances_responses.go index 469ff6d..b8ce018 100644 --- a/internal/client/virtual_machines/count_instances_responses.go +++ b/internal/client/virtual_machines/count_instances_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // CountInstancesReader is a Reader for the CountInstances structure. diff --git a/internal/client/virtual_machines/get_instance_responses.go b/internal/client/virtual_machines/get_instance_responses.go index 28200f2..1d8ee22 100644 --- a/internal/client/virtual_machines/get_instance_responses.go +++ b/internal/client/virtual_machines/get_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetInstanceReader is a Reader for the GetInstance structure. diff --git a/internal/client/virtual_machines/get_vnc_connect_url_responses.go b/internal/client/virtual_machines/get_vnc_connect_url_responses.go index f146fb4..d8e9467 100644 --- a/internal/client/virtual_machines/get_vnc_connect_url_responses.go +++ b/internal/client/virtual_machines/get_vnc_connect_url_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // GetVncConnectURLReader is a Reader for the GetVncConnectURL structure. diff --git a/internal/client/virtual_machines/list_instances_responses.go b/internal/client/virtual_machines/list_instances_responses.go index 1bb4ef1..f08fa1f 100644 --- a/internal/client/virtual_machines/list_instances_responses.go +++ b/internal/client/virtual_machines/list_instances_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // ListInstancesReader is a Reader for the ListInstances structure. diff --git a/internal/client/virtual_machines/monitor_instance_responses.go b/internal/client/virtual_machines/monitor_instance_responses.go index c81c0dd..092c85e 100644 --- a/internal/client/virtual_machines/monitor_instance_responses.go +++ b/internal/client/virtual_machines/monitor_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // MonitorInstanceReader is a Reader for the MonitorInstance structure. diff --git a/internal/client/virtual_machines/reboot_instance_responses.go b/internal/client/virtual_machines/reboot_instance_responses.go index 33cf1c3..b8537c8 100644 --- a/internal/client/virtual_machines/reboot_instance_responses.go +++ b/internal/client/virtual_machines/reboot_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // RebootInstanceReader is a Reader for the RebootInstance structure. diff --git a/internal/client/virtual_machines/start_instance_responses.go b/internal/client/virtual_machines/start_instance_responses.go index bf20083..ccb6c71 100644 --- a/internal/client/virtual_machines/start_instance_responses.go +++ b/internal/client/virtual_machines/start_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // StartInstanceReader is a Reader for the StartInstance structure. diff --git a/internal/client/virtual_machines/stop_instance_responses.go b/internal/client/virtual_machines/stop_instance_responses.go index b0478cd..c5abc3b 100644 --- a/internal/client/virtual_machines/stop_instance_responses.go +++ b/internal/client/virtual_machines/stop_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // StopInstanceReader is a Reader for the StopInstance structure. diff --git a/internal/client/virtual_machines/terminate_instance_responses.go b/internal/client/virtual_machines/terminate_instance_responses.go index 7e64748..b954eff 100644 --- a/internal/client/virtual_machines/terminate_instance_responses.go +++ b/internal/client/virtual_machines/terminate_instance_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "cudo.org/v1/terraform-provider-cudo/internal/models" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" ) // TerminateInstanceReader is a Reader for the TerminateInstance structure. diff --git a/internal/provider/images_data_source.go b/internal/provider/images_data_source.go index e6e3c3e..921d4bd 100644 --- a/internal/provider/images_data_source.go +++ b/internal/provider/images_data_source.go @@ -2,8 +2,8 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/search" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/search" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 88c19d7..1952e94 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -2,7 +2,7 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client" + "github.com/CudoVentures/terraform-provider-cudo/internal/client" "github.com/hashicorp/terraform-plugin-framework/path" httptransport "github.com/go-openapi/runtime/client" diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go index 26fedde..e8202f4 100644 --- a/internal/provider/provider_test.go +++ b/internal/provider/provider_test.go @@ -1,8 +1,8 @@ package provider import ( - "cudo.org/v1/terraform-provider-cudo/internal/client" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client" httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" "os" diff --git a/internal/provider/regions_data_source.go b/internal/provider/regions_data_source.go index 04b74ab..f9e423d 100644 --- a/internal/provider/regions_data_source.go +++ b/internal/provider/regions_data_source.go @@ -2,8 +2,8 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/search" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/search" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" diff --git a/internal/provider/ssh_keys_data_source.go b/internal/provider/ssh_keys_data_source.go index b64bf5f..fc78dae 100644 --- a/internal/provider/ssh_keys_data_source.go +++ b/internal/provider/ssh_keys_data_source.go @@ -2,8 +2,8 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/ssh_keys" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/ssh_keys" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" diff --git a/internal/provider/vm_config_data_source.go b/internal/provider/vm_config_data_source.go index 47caad1..401ce79 100644 --- a/internal/provider/vm_config_data_source.go +++ b/internal/provider/vm_config_data_source.go @@ -2,8 +2,8 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/search" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/search" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" diff --git a/internal/provider/vm_config_data_source_test.go b/internal/provider/vm_config_data_source_test.go index c0c6719..e9a500d 100644 --- a/internal/provider/vm_config_data_source_test.go +++ b/internal/provider/vm_config_data_source_test.go @@ -30,7 +30,7 @@ func TestAccVMConfigDataSource(t *testing.T) { resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.cpu_model", "AMD EPYC 7262 8-Core Processor"), resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.data_center_id", "black-mesa"), - resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.gpu_memory_gib", "16"), + //resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.gpu_memory_gib", "16"), resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.gpu_model", "GA102GL [RTX A4000]"), resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.gpu_price_hr", "0.170000"), resource.TestCheckResourceAttr("data.cudo_vm_configs.test", "vm_configs.0.id", "tbwf26agg51g"), diff --git a/internal/provider/vm_instance_data_source.go b/internal/provider/vm_instance_data_source.go index f999008..9749e1b 100644 --- a/internal/provider/vm_instance_data_source.go +++ b/internal/provider/vm_instance_data_source.go @@ -2,8 +2,8 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/virtual_machines" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/virtual_machines" "github.com/go-openapi/strfmt" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" diff --git a/internal/provider/vm_instance_data_source_test.go b/internal/provider/vm_instance_data_source_test.go index 9610434..bbcde7c 100644 --- a/internal/provider/vm_instance_data_source_test.go +++ b/internal/provider/vm_instance_data_source_test.go @@ -1,9 +1,9 @@ package provider import ( - "cudo.org/v1/terraform-provider-cudo/internal/client/virtual_machines" - "cudo.org/v1/terraform-provider-cudo/internal/helper" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/virtual_machines" + "github.com/CudoVentures/terraform-provider-cudo/internal/helper" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "testing" diff --git a/internal/provider/vm_resource.go b/internal/provider/vm_resource.go index e590efa..3291126 100644 --- a/internal/provider/vm_resource.go +++ b/internal/provider/vm_resource.go @@ -2,10 +2,10 @@ package provider import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/client/projects" - "cudo.org/v1/terraform-provider-cudo/internal/client/virtual_machines" - "cudo.org/v1/terraform-provider-cudo/internal/models" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/projects" + "github.com/CudoVentures/terraform-provider-cudo/internal/client/virtual_machines" + "github.com/CudoVentures/terraform-provider-cudo/internal/models" "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/path" diff --git a/internal/provider/vm_resource_test.go b/internal/provider/vm_resource_test.go index 98958ca..a13c0c4 100644 --- a/internal/provider/vm_resource_test.go +++ b/internal/provider/vm_resource_test.go @@ -1,8 +1,8 @@ package provider import ( - "cudo.org/v1/terraform-provider-cudo/internal/helper" "fmt" + "github.com/CudoVentures/terraform-provider-cudo/internal/helper" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" diff --git a/main.go b/main.go index 3ed5ce1..33b644e 100644 --- a/main.go +++ b/main.go @@ -2,8 +2,8 @@ package main import ( "context" - "cudo.org/v1/terraform-provider-cudo/internal/provider" "flag" + "github.com/CudoVentures/terraform-provider-cudo/internal/provider" "github.com/hashicorp/terraform-plugin-framework/providerserver" "log" ) @@ -35,8 +35,7 @@ func main() { flag.Parse() opts := providerserver.ServeOpts{ - // TODO: Update this string with the published name of your provider. - Address: "cudo.org/v1/cudo", //"registry.terraform.io/hashicorp/scaffolding", + Address: "registry.terraform.io/providers/CudoVentures/cudo", Debug: debug, }