Back
In this case, you can go for using static public key something like this:
admin_username = "azureroot"admin_ssh_key { username = "azureroot" public_key = "xxxxxxxxx"}
admin_username = "azureroot"
admin_ssh_key {
username = "azureroot"
public_key = "xxxxxxxxx"
}
So that, I will not create any problem. You can execute terraform code and also you can change as per your requirements like NSG rules.
I hope this will help.
Want to become an Azure expert? join Azure Architect training now!!
31k questions
32.8k answers
501 comments
693 users