attack_range icon indicating copy to clipboard operation
attack_range copied to clipboard

Error: `subscription_id` is a required provider property when performing a plan/apply operation

Open harperaa opened this issue 5 months ago • 0 comments

OS: MacOS Ventura 13.6.9 Azure terraform scripts Latest code clone

(attack-range-py3.12) bash-5.2$ python3 attack_range.py build ... ... │ Error: subscription_id is a required provider property when performing a plan/apply operation │ │ with provider["registry.terraform.io/hashicorp/azurerm"], │ on main.tf line 4, in provider "azurerm": │ 4: provider "azurerm" { │ ╵ 2024-09-27 16:42:19,677 - INFO - attack_range - [action] > show ...

The subject error is given on a recent config and build. I looked around and found that there is a new issue with Terraform, that they are working, but the work around in the below link, adding subscription_id to the azurerm block of Main.tf worked for me... this may help someone else, until they fix it and this attack_range project may need to adjust how it is calling terraform, not sure.

https://github.com/hashicorp/terraform-provider-azurerm/issues/27423

harperaa avatar Sep 27 '24 20:09 harperaa