Update GitHub Pull Request Body using GitHub Actions

Screenshot of GitHub Actions output displaying a workflow that updates the body of a pull request. The console log shows steps including checking out the repository, executing a script or action to modify the pull request body, and a confirmation message indicating that the pull request description was successfully updated as part of the automated workflow.

Recently I have been automating GitHub Pull Request Body with various updates/outputs from GitHub Actions, I wanted to create a quick blog post on a couple of ways to do this that will hopefully assist you. If you’re like me, you’ve probably found yourself in situations where you need to update the body of a … Read more

Scaling Terraform Deployments with GitHub Actions: Essential Configurations

DevOps logo for the 90 Days of DevOps challenge, displaying the submission details for day 78 in 2024. The image features the DevOps logo alongside text indicating the submission topic: 'Scaling Terraform Deployments with GitHub Actions.' The visual represents progress in the DevOps learning challenge.

Scaling Terraform Deployments with GitHub Actions: Essential Configurations, is part of the 90 Days of DevOps event that Michael Cade has been running, certainly check out the event for lots more awesome DevOps related contributions here What have I covered in this session? My session is a presentation & demo – that covers essential configurations … Read more

Ensuring Your Terraform is Correctly Formatted with Terraform fmt using GitHub Actions

Screenshot of a GitHub Actions workflow log showing the execution of the terraform fmt command. Showing how Terraform code is being automatically formatted, with specific lines indicating changes made to the code to adhere to formatting standards.

As with all pull requests, we want to run various CI checks to ensure validation of your code and one of these is code quality, writing Terraform? Unsure if the Terraform in the pull-request is formatted correctly? This is where GitHub Actions come in handy. In this post, we’ll explore how to ensure your Terraform code … Read more

GitHub Action error Resource not accessible by integration when attempting to upload SARIF report files to GitHub

Screenshot showing the workflow permissions settings in GitHub Actions, with a highlight on the need to enable both read and write permissions. The image focuses on the configuration options for granting these permissions, indicating their necessity for proper workflow execution and functionality.

Just a very quick blog post to show a potential fix for GitHub Action error Resource not accessible by integration when attempting to upload SARIF report files to GitHub, I came across this when attempting to use GitHub action github/codeql-action/upload-sarif@v3 GitHub Action usage Was trying to upload a SARIF report from kube-linter with the simple … Read more

Resolving steps.plan.outputs.* returns Empty Issue with hashicorp/setup-terraform@v3

A quick blog post to include the fix/what is needed to resolve steps.plan.outputs.* is empty when using GitHub Action hashicorp/setup-terraform@v3 I recently came across a situation while working with the hashicorp/setup-terraform@v3 GitHub Action. I wanted to make use of steps.plan.outputs.stdout to display the Terraform Plan, but I noticed that the output was consistently empty. Even … Read more

Deploying Azure AKS with Application Gateway and Flux extension – An introduction to GitOps

Screenshot from the Azure Portal showing the successful deployment of GitOps configuration in Kubernetes. The image highlights the deployment status, indicating that the GitOps configuration was applied successfully. It includes details such as the deployment name, status, and any relevant logs or messages confirming the successful integration

In this blog post/tutorial, we’ll dive into a range of topics that are all deployed using GitHub Actions and Terraform. The focus is on deploying key components: This is also part of the Festive Tech Calendar – do check it out for even more awesome content! Prerequisites Before diving into Terraform deployments and application setups, … Read more

Deploying Azure AKS GitOps Flux extension with Terraform

In a previous blog post, I provided a comprehensive guide on deploying Azure AKS, Application Gateway, and GitOps extension with AKS. This involved an in-depth overview of flux/kustomization, among other components. In this post, I’ll specifically focus on deploying the Azure AKS GitOps extension and configuring flux using this extension. The Terraform Lets jump right … Read more

Unlocking Manual Workflow Execution in GitHub Actions: A Quick Fix

Screenshot from GitHub Actions showing the workflow tab with the option to run the workflow. The image highlights the 'Run workflow' button, indicating that the workflow can be manually triggered. This option is available, allowing users to initiate the workflow process directly from the GitHub Actions interface.

If you’re working with CI/CD pipelines and GitHub Action workflows, there might be instances where you need to manually run a workflow. However, you might have noticed that when you attempt to do this through the portal, you realize that there’s no option available for manual execution. In this blog post, I’ll provide a quick … Read more

Streamlining Multi-Component Deployments to Terraform Environments with GitHub Actions Matrices

Screenshot of GitHub Actions jobs showing the successful execution of a multi-component deployment. The image highlights various jobs in the workflow, each marked with a green check to indicate successful completion.

Deploying resources in Azure often involves deploying multiple components to numerous environments, each with its own specific configuration. Managing this complexity efficiently can be challenging. However, GitHub Actions, coupled with matrices, offers a powerful solution to streamline these multi-component deployments to multiple Terraform environments. In this blog post, we’ll explore how to use matrices in … Read more

7 Configurations I recommend you setup to deploy your Terraform into Azure at scale using GitHub Actions

Screenshot of GitHub Actions jobs output showing a configuration that creates a matrix with six combinations. The matrix includes the following combinations: [development, core], [development, logging], [development, network], [production, core], [production, logging], and [production, network]. The image highlights how the matrix configuration is used to run jobs across multiple environments and components, with each combination represented as a separate job or workflow step.

This blog post dives into the world of Terraform deployments in Microsoft Azure and explores how GitHub Actions can be harnessed to streamline the process, particularly when dealing with larger-scale deployments across various terraform resources, components and environments. We’ll walk through the essential configurations and best practices that I recommend for deploying Terraform at scale … Read more