Automated Repository Setup for GitHub
Image Source:
Microsoft 365
Jun 20, 2023 5:55 PM

Automated Repository Setup for GitHub

by HubSite 365 about Michael Megel

Enterprise Architect, Azure DevOps, Power Platform Addict, Cloud Solutions & Intelligent ERP ... Never stop learning!

Pro UserMicrosoft 365Learning Selection

I can’t say this often enough, I love to automate manual repetitive tasks. An automated process save time and reduces mistakes. For that reason, I want to share

Learn about Automated Repository Setup for GitHub

In his blog post dated June 20, 2023, Michael Megel discusses automating the setup of repositories on GitHub for AWS accounts. He believes that automation reduces mistakes and saves time, especially for tedious, repetitive tasks. 
In the past, setting up a new infrastructure as code (IaC) repository for a new AWS account was a manual process that could take up to five days, involving communication between end users and developers. This process required end users to understand and configure IaC scripts, a task that was both tedious and error-prone.

To streamline this process, Megel created an AWS Lambda function that automates the setup of these IaC repositories. The service provides a list of available IaC templates and their needed configurations. It then sets up a GitHub repository by cloning the GitHub IaC repository, downloading the necessary artifacts into it, and creating the required configuration files. All these functionalities are hosted on AWS and exposed through an AWS API Gateway.

To make this process more user-friendly, Megel introduced a simple user interface via a canvas app in Dataverse for Teams. This allows users to select their GitHub repositories, configure them, and add setup information. Finally, the setup information is used to configure the IaC repository in GitHub, a task accomplished by the Lambda function in less than a minute.

In conclusion, Megel automated the setup of IaC repositories for AWS accounts by leveraging AWS Serverless technology and the Microsoft Power Platform, improving efficiency and reducing error rates. This represents a powerful integration between business applications, APIs, and cloud technology, illustrating the harmony between Microsoft and AWS cloud platforms.

More links on about Automated Repository Setup for GitHub

How to automate your project and Github repo setup from ...
Aug 20, 2019 — How to automate your project and Github repo setup from the command line · 1) Go to my ../projects folder and run mkdir project-of-some-name to ...
How to Automate a Github Repo With a Line of Code on ...
Automating to create a GitHub repo with Gitstart saves you time. It creates a README file, a .gitignore file if you provide a language, adds a license.txt ...
Automate your GitHub organization | by Reinier Timmer
Sep 1, 2021 — This will help us with setting up access rights on repositories in our GitHub organization.
Repository Automation with GitHub Actions
Feb 25, 2021 — Automating the creation of issues​​ To manage our team's weekly stand-ups, we use GitHub Actions to automate our issue's creation. Using this ...
Connect to a GitHub repository | Cloud Build Documentation
This page explains how to connect a GitHub repository to Cloud Build. ... either a Dockerfile or a Cloud Build config file in your GitHub source repository.
Automate your Github with the (dot) Github repository
Mar 28, 2022 — Creating a .github repository in your organization allows you to create ONE and ONE, ...