Pulumi Python code for deploying a Linux VM with Ubuntu 22.04 LTS (Jammy Jellyfish) in Azure with GitHub Actions.
To be able to run Pulumi locally, ensure the prerequisites below are fulfilled.
-
Install Pulumi
curl -fsSL https://get.pulumi.com | sh
-
Clone the repository and change directory
git clone https://github.com/wozorio/pulumi-azure-linux-vm.git cd pulumi-azure-linux-vm
-
Install requirements
pip install poetry poetry install --without dev
-
Login to Azure
az login
-
Run Pulumi
pulumi up