The CloudNaming PowerShell module can be used to programmatically generate cloud resource names for your organization.
It can be used as a standalone module, or as part of a Infrastructure as Code (IaC) pipeline.
It is highly customizable, and supports any cloud providers of your choice. The documentation and instruction can be found at the project's wiki page.
The pipeline-examples folder contains 3 sample Azure DevOps YAML pipelines to demonstrate how to use the CloudNaming module in a CI/CD pipeline:
-
azure-pipelines-demo-1.yaml: Beginner's level pipeline
- Install module from a private Azure Artifacts feed
- Does not use custom configuration file
- Generate resource names one at a time
-
azure-pipelines-demo-2.yaml: Advanced level pipeline
- Install module from PowerShell Gallery
- Uses custom configuration file located in the repository
- Generate resource names one at a time
- Generate multiple resource names at once
-
azure-pipelines-install-azure-artifacts.yaml: Example on how to publish a customized version of the CloudNaming module to an Azure Artifacts organization-level feed.