Skip to content

Commit

Permalink
Update T1078.004.yaml (#2991)
Browse files Browse the repository at this point in the history
Update cleanup section
  • Loading branch information
kienmarkdo authored Nov 20, 2024
1 parent 7614a19 commit ac78f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atomics/T1078.004/T1078.004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ atomic_tests:
elevation_required: false
cleanup_command: |
Remove-AzAutomationRunbook -AutomationAccountName #{automation_account_name} -Name #{runbook_name} -ResourceGroupName #{resource_group} -Force
Remove-AzAutomationAccount -ResourceGroupName "MarkResourceGroup" -Name "MarkAutomationAccountName" -Force
Remove-AzResourceGroup -Name "MarkResourceGroup" -Force
Remove-AzAutomationAccount -ResourceGroupName #{resource_group} -Name #{automation_account_name} -Force
Remove-AzResourceGroup -Name #{resource_group} -Force
echo "Cleanup should be completed. Run 'terraform destroy` to ensure remaining resources are also deleted."
cd "$PathToAtomicsFolder/T1078.004/src/T1078.004-2/"
terraform destroy -auto-approve
Expand Down

0 comments on commit ac78f1f

Please sign in to comment.