-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In the spirit of showing how to manage azure through terraform, we'll get some docs on the basic.
- We will need the azure CLI to allow terraform to act on our behalf https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
- once we have that then we should be able to test it with this https://learn.hashicorp.com/tutorials/terraform/azure-build?in=terraform/azure-get-started
- https://docs.microsoft.com/en-us/azure/developer/terraform/get-started-cloud-shell
- a VM with ssh is a good starting point https://docs.microsoft.com/en-us/azure/developer/terraform/create-linux-virtual-machine-with-infrastructure
- one will need to save the private key and apply the proper permissions to it (i.e.,
chmod 600 ~/.ssh/azure) https://superuser.com/questions/215504/permissions-on-private-key-in-ssh-folder - specify which key to use with
ssh -i <path to key>https://superuser.com/questions/772660/howto-force-ssh-to-use-a-specific-private-key
- one will need to save the private key and apply the proper permissions to it (i.e.,
Another good reference https://adamtheautomator.com/terraform-azure-vm/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels