cm-source

Tags a resource with information that can be used to trace its origins.

Designed to help manage environments by documenting where the resource came from. This can assist in resolving versioning issues or when upgrading to newer scripts, as it provides a basis for comparing the source which originally defined a resource with an upgraded version.

This information is picked up from the Cloudmarque Azure context and is set on resources when deploying cloud resources.

Types

JArray

For more information, please refer to Tag value types.

Formats

  1. [ TOOLING, REPOSITORY, PIPELINE, RELEASE, DATE ] where:

    • TOOLING (String) - Any named version of a versioned cloud deployment tool (or collection of tools)
    • REPOSITORY (String) - A reference to the source repository
    • PIPELINE (String) - The name of the source pipeline
    • RELEASE (String) - The name of the release
    • DATE (DateTime) - An ISO8601 formatted reference to the deployment time
    For example:
    • ["Cloudmarque.Azure v0.93 (PowerShell)", "Azure DevOps (Acme)", "IaaS Web", "Release 1202", "2020-01-01T23:53:01Z"] - Indicates that the resource was provisioned by Cloudmarque version 0.93, from the Azure DevOps Acme repository, using the IaaS Web release pipeline, number 1202, on the first of January 2020 (at around 7 minutes to midnight)