Thank you for reaching out.
Based on your question above
Can I delete Azure Bastion from RG1 with out affecting RG2
Yes, you can delete Azure Bastion in RG1 without affecting RG2 but It will help if you can validate a few things before deleting the resource.
- Validate that you are able to access all the required VMs via Azure Bastion in RG2.
- If you are not able to access any required VMs that maybe because your Virtual Networks are not peered. Azure Bastion works over peered virtual networks, so if you establish peering between the Virtual Networks present in RG1 and RG2 you can use one Bastion resource to access all the VMs present in these Virtual Networks. You find more details here.
You can follow the links below to delete your Bastion resource via CLI / PowerShell
https://video2.skills-academy.com/en-us/powershell/module/az.network/remove-azbastion?view=azps-9.1.0
https://video2.skills-academy.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az-network-bastion-delete
Hope this helps! Please let me kniw you have any additional questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.