JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q82126F
  • License Apache-2.0

Add tags to your resources from info in your git repository

Package Exports

  • @wheatstalk/cdk-git-tags

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wheatstalk/cdk-git-tags) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CDK Git Tags

Use this construct to tag your stack and resources with information from your git repository.

An example of the applied tags

Usage

// Create your CDK app as usual
const app = new cdk.App();

// Apply GitTags to your app and all stacks and resources will be tagged.
GitTags.add(app);

Tags Produced

Tag Description
@wheatstalk/cdk-git-tags The version of the construct
@wheatstalk/cdk-git-tags.git.HEAD The output of git rev-parse HEAD
@wheatstalk/cdk-git-tags.git.remotes All unique remote URLs separated by spaces