terracognita icon indicating copy to clipboard operation
terracognita copied to clipboard

AzureRM provider issue on 'provider.features'

Open xescugc opened this issue 2 years ago • 0 comments

General information:

  • Operating System: Linux
  • Terracognita version / tag: 0.7.4
  • Did you build Terracognita from sources or did you use the Docker image:

Describe the bug:

When importing from AzureRM the provider generated looks like:

provider "azurerm" {
  environment     = var.environment
  features            = var.features
  metadata_host = var.metadata_host
}

But it should be like:

provider "azurerm" {
  environment   = var.environment
  features      {}
  metadata_host = var.metadata_host
}

As features is not a value but a block.

Log message

Additional context

xescugc avatar Apr 07 '22 14:04 xescugc