attack_range
attack_range copied to clipboard
Error on attack_range.py build
Just pulled the latest image earlier today, when trying to run an attack range build I get this:
Error: Reference to undeclared input variable │ │ on modules/windows/resources.tf line 108, in resource "azurerm_virtual_machine" "windows": │ 108: "caldera_server": ${jsonencode(var.caldera_server)}, │ │ An input variable with the name "caldera_server" has not been declared. This variable can be declared with a variable "caldera_server" {} block.
This is my attack_range.yml file: general: cloud_provider: azure attack_range_password: key_name: root-46081 ip_whitelist: attack_range_name: VR-AttackRange azure: subscription_id: private_key_path: /attack_range/root-46081.key public_key_path: /attack_range/root-46081.pub location: North Central US windows_servers:
- hostname: ar-win-dc windows_image: windows-server-2022 create_domain: '1' install_red_team_tools: '1' bad_blood: '1' linux_servers:
- hostname: ar-linux