You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the following issue when using the tool. Terraform init works fine but it seems to have trouble when running a simple export.
See error below. The plug does seem to be installed ok.
aztfexport resource-group mytestrg
#error message
Microsoft Azure Export for Terraform
initializing provider for the import directories: 2 errors occurred:
* task error: error running terraform init: exit status 1
Error: Failed to install provider
Error while installing hashicorp/azurerm v3.65.0: unexpected EOF
* task error: error running terraform init: exit status 1
Error: Failed to install provider
Error while installing hashicorp/azurerm v3.65.0: unexpected EOF
#terraform init seems ok
[ewan@00f836ff2ebd test]$ terraform init
Initializing the backend...
Initializing provider plugins...
Reusing previous version of hashicorp/azurerm from the dependency lock file
Using previously-installed hashicorp/azurerm v3.65.0
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[ewan@00f836ff2ebd test]$
The text was updated successfully, but these errors were encountered:
@cameronew This seems to be a network issue when downloading the provider. Did you try to remove the pre-installed provider in your environment, and download the provider again via terraform init?
@cameronew This seems to be a network issue when downloading the provider. Did you try to remove the pre-installed provider in your environment, and download the provider again via terraform init?
@magodo Yes I deleted the provider and ran terraform init which worked fine then had th log.txt
e same issue with azfexport. Attached is the trace log.
Hi,
Having the following issue when using the tool. Terraform init works fine but it seems to have trouble when running a simple export.
See error below. The plug does seem to be installed ok.
aztfexport resource-group mytestrg
#error message
Microsoft Azure Export for Terraform
initializing provider for the import directories: 2 errors occurred:
* task error: error running terraform init: exit status 1
Error: Failed to install provider
Error while installing hashicorp/azurerm v3.65.0: unexpected EOF
Error: Failed to install provider
Error while installing hashicorp/azurerm v3.65.0: unexpected EOF
#plugin
-rwxr-xr-x 1 ewan ewan 194940928 Oct 5 12:55 terraform-provider-azurerm_v3.65.0_x5
[ewan@00f836ff2ebd linux_amd64]$ pwd
/home/ewan/test/.terraform/providers/registry.terraform.io/hashicorp/azurerm/3.65.0/linux_amd64
#terraform init seems ok
[ewan@00f836ff2ebd test]$ terraform init
Initializing the backend...
Initializing provider plugins...
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[ewan@00f836ff2ebd test]$
The text was updated successfully, but these errors were encountered: