terraform-provider-openvpn-cloud icon indicating copy to clipboard operation
terraform-provider-openvpn-cloud copied to clipboard

Problem using resource

Open claranobre opened this issue 2 years ago • 3 comments

I am getting the error The provider openvpn/openvpn-cloud does not support resource type "openvpn-cloud_user". Did you mean "openvpncloud_user"? in the documentation it indicates that I use the resource as the error informs, but when using it the provider does not recognize it because it cannot be found in the Terraform registry, the error follows:

Initializing provider plugins...
- Finding latest version of hashicorp/openvpncloud...
- Reusing previous version of hashicorp/tfe from the dependency lock file
- Reusing previous version of openvpn/openvpn-cloud from the dependency lock file
- Using previously-installed hashicorp/tfe v0.42.0
- Using previously-installed openvpn/openvpn-cloud v0.0.7
╷
│ Error: Failed to query available provider packages
│ 
│ Could not retrieve the list of available versions for provider hashicorp/openvpncloud: provider registry registry.terraform.io does not have a provider named registry.terraform.io/hashicorp/openvpncloud

claranobre avatar Feb 18 '23 00:02 claranobre

Hi @claranobre, it seems to be the same problem as here https://github.com/OpenVPN/terraform-provider-openvpn-cloud/issues/18

arslanbekov avatar Feb 19 '23 12:02 arslanbekov

try mentioning the provider in OpenVPN cloud resources. Something like the following

provider = openvpn-cloud

aster-anto avatar Mar 04 '23 17:03 aster-anto

@claranobre please try openvpncloud_user instead of openvpn-cloud_user.

vladimir-kozyrev avatar Mar 24 '23 14:03 vladimir-kozyrev

We've published new version of Terraform Provider to Registry: https://registry.terraform.io/providers/OpenVPN/cloudconnexa/latest

Going forward only https://registry.terraform.io/providers/OpenVPN/cloudconnexa/latest will be developed.

Please give new provider a try, hopefully it will fix your issue.

In case if problem persists - please open new "Issue" (https://github.com/OpenVPN/terraform-provider-cloudconnexa/issues)

Sorry for inconvenience.

sahaqaa avatar May 09 '24 13:05 sahaqaa