Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing resoruce group fails #469

Open
dwilson-daviesgroup opened this issue Nov 3, 2023 · 2 comments
Open

Importing resoruce group fails #469

dwilson-daviesgroup opened this issue Nov 3, 2023 · 2 comments
Labels
question Further information is requested

Comments

@dwilson-daviesgroup
Copy link

When importing a resource group, each resource is failing with the following error:

Failed to import /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.Network/networkSecurityGroups/xxxxxx/securityRules/xxxxxx-TCP-80-Internet as azurerm_network_security_rule.res-9:
Error: Inconsistent dependency lock file

The following dependency selections recorded in the lock file are
inconsistent with the current configuration:
  - provider registry.terraform.io/hashicorp/azurerm: required by this configuration but no version is selected

To make the initial dependency selections that will initialize the dependency
lock file, run:
  terraform init
@magodo
Copy link
Collaborator

magodo commented Nov 6, 2023

@dwilson-daviesgroup Could you tell which version of the aztfexport you were using, and the CLI you were running?

@magodo magodo added the question Further information is requested label Nov 6, 2023
@dwilson-daviesgroup
Copy link
Author

aztfexport version v0.13.1(c690456)
azure-cli 2.53.1

I suspect it's something to do with the workplace proxies. Seems to work fine on another machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants