"Generate Terraform code to create an Ubuntu Linux virtual machine on Microsoft Azure. The setup should include:
Resource group creation
Virtual network and subnet
Network interface with public IP
Network security group allowing SSH (port 22) and HTTP (port 80)
Virtual machine using Ubuntu 20.04 LTS image
Provisioning a basic Apache web server using a cloud-init script
Outputs for VM name, public IP, and admin username
Make sure the configuration is modular and follows best practices."
@learnwithdevopsengineer3682