#azure (2020-03)
Archive: https://archive.sweetops.com/azure/
2020-03-03
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
hello, if you don’t want to upgrade yet to the 2.0.0 azurerm provider. one can prevent the upgrade by setting the following:
# Configure the Azure Provider
provider "azurerm" {
# whilst the `version` attribute is optional, we recommend pinning to a given version of the Provider
version = "= 1.44.0"
}
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
In the last year I’ve seen the azurerm provider go up from 1.21 up to 2.00 and dealt with all the crazy changes therein. I highly recommend pinning the version of all providers for anything production level or that doesn’t change very often, regardless of the provider being used. Version pinning is soooo important in devops
![Pierre Humberdroz avatar](https://avatars.slack-edge.com/2019-12-10/856434906819_d99dd3e0bce66357e0ce_72.png)
also in helmfile btw.
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
Of course there are those that would say that one should actually know the differences between different azurerm terraform provider versions for interviews… https://www.whizlabs.com/blog/terraform-interview-questions/ <– WTF?
Preparing for terraform interview? Check out these top 25 terraform interview questions with detailed answers to crack the interview!
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
That’s ridiculous! Perfect example of a bad interview question
Preparing for terraform interview? Check out these top 25 terraform interview questions with detailed answers to crack the interview!
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
I know right? I’d laugh right in the interviewer’s face
2020-03-04
2020-03-24
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
I suppose I should cross-post my azure devops tomfoolery to this channel as well: https://zacharyloeber.com/blog/2020/3/23/ado_automated_variable_groups/
![attachment image](https://zacharyloeber.com/images/blog/backlit_keyboard.jpg)
Azure Devops Automated Variable Groups - Zachary Loeber’s Personal Site
2020-03-25
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
Hello, I have successfully setup azure devops pipeline and template with vault storing Terraform credential . All was done by following the example below: https://github.com/jtiala/azure-devops-terraform-template If you have the same use case I might be of some help
Azure DevOps Terraform Template. Contribute to jtiala/azure-devops-terraform-template development by creating an account on GitHub.
2020-03-27
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Adding @discourse_forum bot
![discourse_forum avatar](https://avatars.slack-edge.com/2020-03-26/1029663249525_451a74d3463357c40dbf_72.png)
@discourse_forum has joined the channel
2020-03-30
![sarkis avatar](https://secure.gravatar.com/avatar/3606f27756cf1a49f22f966e4ddf01a6.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png)
Azure VMSS are very much not like AWS AutoScaling Groups — anyone here know if VMSS are supposed to be self-healing? i.e. if I define a VMSS with 3 VMs and power one off - I’m not seeing it be replaced. I think it has to do with poweroff … maybe I need to deallocate
2020-03-31
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
you need to apply extensions to do the health checks I believe
![sarkis avatar](https://secure.gravatar.com/avatar/3606f27756cf1a49f22f966e4ddf01a6.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png)
Ah nice! Thanks for this Zachary… https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension
Learn how to use the Application Health extension to monitor the health of your applications deployed on virtual machine scale sets.
![Zachary Loeber avatar](https://avatars.slack-edge.com/2020-05-13/1115475485942_e68ae4d6556df390de70_72.jpg)
Azure dumb trick of the day, az cli one-liner to give a console list of subscriptions to choose from to set as your current default subscription: OLD_IFS=${IFS}; IFS=$'\n';select subscription in $(az account list --query "[].name" -o tsv) cancel; do if [ "$${subscription}" != "cancel" ]; then echo "Setting
Subscription: ${subscription}"; az account set --subscription "${subscription}"; fi; break; done; IFS=${OLD_IFS}
![sarkis avatar](https://secure.gravatar.com/avatar/3606f27756cf1a49f22f966e4ddf01a6.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png)
This is handy - now to untrain my muscle memory from doing: az logout az account clear az login