Trying to create a Kali Linux VM from Terraform. I started by importing the VM resource from another account, and when trying to deploy it to a new subscription, I receive the following error:
After trying to find a solution online, I noticed another issue that seemed relevant, however I couldn’t understand why I would have to import the Kali-linux provider from the marketplace into my machine.
Here is the relevant code section that includes my deployment of the machine, along with the azurerm_marketplace_agreement I attempted to import.
Any help on what I’m doing wrong would be greatly appreciated! Thanks.