When I tried to launch a terragrunt plan in dev/adf_mkl I have the following error in my pipeline.
data.azurerm_subscription.primary: Read complete after 0s [id=/subscriptions/7b34aa28-b315-41c8-9a1f-3ce5d17df71d]
╷
│ Error: unable to build authorizer for Resource Manager API: could not configure AzureCli Authorizer: could not parse Azure CLI version: launching Azure CLI: exec: "az": executable file not found in $PATH
│
│ with module.az_rg.provider["registry.terraform.io/hashicorp/azurerm"],
│ on ../az_rg/version.tf line 12, in provider "azurerm":
│ 12: provider "azurerm" {
│
╵
I thought every submodule called would inherit from the versions_override.tf generated by terragrunt, but it doesn't seem to be the case. Is there a way to generate versions_override.tf in every submodules ? Or am I missing something ?
Hi,
I don't know If this is really a bug or a misconfiguration right now.
Terragrunt version
terragrunt version v0.43.2
Explanation
and I'm using the module
az_rg
to create the resource group in myaz_adf
The
version.tf
files are the same in both directories.with
dev/terragrunt.hcl
looking likt thatand
dev/adf_mkl/terragrunt.hcl
looking like that.What happened ?
When I tried to launch a
terragrunt plan
indev/adf_mkl
I have the following error in my pipeline.I thought every submodule called would inherit from the
versions_override.tf
generated by terragrunt, but it doesn't seem to be the case. Is there a way to generateversions_override.tf
in every submodules ? Or am I missing something ?