@wheatstalk/cdk-git-tags
v0.0.86
Published
Add tags to your resources from info in your git repository
Downloads
93
Maintainers
Readme
CDK Git Tags
Use this construct to tag your stack and resources with information from your git repository.
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 |