How To Create A Virtual Environment in Python

I have been using Python a lot recently and thought I would write a blog post on how to create a virtual environment in Python and why I suggest you use them What is a Virtual Environment in Python? A virtual environment is a self-contained directory that will contain a Python installation along with all … Read more

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 Load Testing Managed Service First Thoughts

Screenshot from Azure Load Testing displaying a test rule. The image shows the configuration details of a specific test rule, including parameters such as conditions, thresholds, and actions associated with the rule. It highlights how the test rule is set up to monitor and respond to specific performance criteria during the load testing process.

In a recent announcement, Azure Load Testing has now became GA and in this blog, I will be giving a brief overview of using it along with first thoughts! Having used a number of Load testing suites throughout the years, I was very curious when Azure Load Testing was announced as a fully-managed Azure service! … Read more

azure application gateway data for certificate is invalid error fix

A quick blog post to show a fix for when you get the error data for certificate is invalid error when applying backend settings within Azure Application Gateway. Within the Azure Activity log, you may come across this error: Reviewing the backend settings in the Application Gateway, we can see the snippet: For end-to-end SSL … Read more

Azure DevOps Pipelines – Remove the need to hard-code

Creating Azure DevOps Pipelines? If avoidable, try not hard code values within your DevOps pipeline! In this blog post; I am going to go through a small Terraform pipeline from hard-coded values to using parameters & variables What is hard-code? Think of it from a pipeline perspective, you create a stage within your pipeline and … Read more

Azure DevOps Pipelines – Keeping your pipelines DRY (Don’t Repeat Yourself)

Working on Azure DevOps Pipelines you may notice some repetition over time, whether that be copying the same stage or task multiple times but changing some values. This will result in your pipeline growing and growing unnecessary over time. What can we do? If you are coming from a developer perspective you will probably have … Read more

Log Analytics queries to CSV emailed using Azure Logic Apps

Log Analytics queries to CSV emailed using Azure Logic Apps can be used for automated reporting – using 4 steps! In this blog post, I will demo how this is done What are Logic Apps? A little resource with a big outcome, Logic Apps assist you with automated workflow; scheduling, automating, coposing a task or … Read more

Provision and storing Terraform backend state remotely to use with TerraformTaskV1@0

Terraform must store state about your Azure Infrastructure and additional configurations. This “state” is used by Terraform to plan against any related real world resources. It uses the state to create the plan when you run “terraform plan” and also used to make any changes to your infrastructure; including any additions and removals. The state … Read more

Azure AKS aad-pod-identity Status code ‘404’ fix

A quick blog post to show the fix I implemented in relation to receiving this error:- With the initial error of error: <nil> there wasn’t much further logging available. Here is the full output of log found under mic-* pod as part of aad-pod-identity The fix for this, is to add and deploy this .yaml … Read more

Azure Managed Identities and Service Principals

Azure Managed Identities and Service Principals and talked about regularly, in this blog I will go into briefly which each is and the main difference between a managed identity and service principal. Keeping credentials safe and secure has always been a priority, even more so when in the cloud – quite a potential challenge this … Read more