Terraform Warning: “Version constraints inside provider configuration blocks are deprecated” fix

Screenshot showing a Terraform error message indicating a deprecated provider version constraint. The error message highlights the issue on providers.tf line 2, where the provider version is specified within the provider block. The message explains that Terraform 0.13 and earlier allowed version constraints here, but this practice is now deprecated and will be removed in future Terraform versions. It advises moving the version constraint into the required_providers block to resolve the warning.

A quick blog post on how to resolve the Terraform warning Warning: Version constraints inside provider configuration blocks are deprecated within your Terraform configuration. The fix below is in relation to azurerm provider, but similar fix can be used for other providers. Using Terraform version > 0.13, you will see this warning with similar output … Read more

Azure DevOps – 6 recommendations to help with securing your branches

Using Azure DevOps daily on a continuous basis but, have you thought about the security of your branches? In this blog post, I will give 6 recommendations to help you with securing your Azure DevOps branches! There is quite a number of ways and configurations you can do in relation to the security; these 6 … Read more

Availability Sets v Availability Zones in IaaS

Deploying your Production IaaS VMs within Azure you will be wanting to consider redundancy and ensuring your environment is highly available in both the Application itself along with the infrastructure it will be using within Azure. Looking at this from a high-level, you will be deploying each part of the application that you want to … Read more

PowerShell Function:- WordPress.com retrieve blog data using API

A quick PowerShell Function to retrieve blog post data from my blog site – added to Github as may be useful for others! Run this function easily by: Get-Blogs -BlogSiteName “thomasthornton.cloud” Output: If you require further Output data from the used api, you can run $WPBlogRetrieve = Invoke-RestMethod -uri “https://public-api.wordpress.com/rest/v1/sites/$BlogSiteName/posts/?number=100” $WPBlogRetrieve.posts Further info on WordPress.com … Read more

Securing your secrets using Azure Key Vault and Virtual Machine Managed Identity

In my previous blog I gave an overview of Azure Managed Identity, specifically around virtual machines and managed identities. In this, I will be detailing the process of implementing a secure use of Key Vault with this virtual machine and how Identity Management can be used to retrieve secrets. There are two types of managed … Read more

Enabling Microsoft Antimalware User Interface in Azure

Installed the IaaSAntimalware “Microsoft Antimalware” extension and trying to access the User Interface within your RDP session and getting this restriction error? Run the below PowerShell snippet: You can now open System Centre Endpoint Protection

Microsoft Azure:- Exam Preparation Tips

As of writing this blog, I have passed the following Microsoft Azure Exams:- Microsoft 70-533: Implementing Microsoft Azure Solutions Microsoft 70-535: Architecting Microsoft Azure Solutions Microsoft AZ-102: Microsoft Azure Administrator Certification Transition I thought my next blog I will go into some detail exam preparation tips aimed at Microsoft Azure exams. The exam set I … Read more