Skip to main content

CDK Aspect Git Tagger

This is a CDK Aspect that will tag your CDK Stacks with the current git repo location for easier identification of deployed stacks. Will create a .git-url-tagger.json file in the root of your project to store the git url. This file will be used to determine the git url for the stack.

How to install

npm install @jjrawlins/cdk-git-tagger

or

yarn add @jjrawlins/cdk-git-tagger

How to use

import { GitUrlTagger } from '@jjrawlins/cdk-git-tagger';
import { App, Aspects, Stack, StackProps } from 'aws-cdk-lib';
import { Topic } from 'aws-cdk-lib/aws-sns';
import { Construct } from 'constructs';

export class MyStack extends Stack {
    constructor(scope: Construct, id: string, props: StackProps = {}) {
        super(scope, id, props);
        // define resources here...
        new Topic(this, 'MyTopic');
    }
}

const app = new App();

new MyStack(app, 'cdk-aspect-git-tagger-tester');
Aspects.of(app).add(new GitUrlTagger());
app.synth();

Example Output

{
  "Resources": {
    "MyTopic86869434": {
      "Type": "AWS::SNS::Topic",
      "Properties": {
        "Tags": [
          {
            "Key": "GitUrl",
            "Value": "https://github.com/jjrawlins/cdk-cool-construct.git"
          }
        ]
      }
    }
  }
}

Metadata

Release files for jjrawlins-cdk-git-tagger 0.0.148

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jjrawlins-cdk-git-tagger 0.0.148
File Size Uploaded Provenance
jjrawlins_cdk_git_tagger-0.0.148.tar.gz 33.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jjrawlins-cdk-git-tagger 0.0.148
File Interpreter ABI Platform
jjrawlins_cdk_git_tagger-0.0.148-py3-none-any.whl Python 3 none any Details

Total release size: 66.0 kB

Release files / jjrawlins_cdk_git_tagger-0.0.148.tar.gz

Download URL jjrawlins_cdk_git_tagger-0.0.148.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
28707bd3f6a716a207ce33cc4fecd4eae73d4bf1c74ffc0e6511853a607ea8c9
BLAKE2b-256 checksum
How to use checksums
08a62056a52b44a7f49d565541b18bb07f784220a823fd70b26ece10dd5054f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / jjrawlins_cdk_git_tagger-0.0.148-py3-none-any.whl

Download URL jjrawlins_cdk_git_tagger-0.0.148-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
167bacd401f2e00d77e0f8a5211eb665c5351f80da9442e38a980c3aa9887d76
BLAKE2b-256 checksum
How to use checksums
28947f8ada497573821caa98882957e9360c22baf94e2c5df7f8f9a518a637f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Security for jjrawlins-cdk-git-tagger 0.0.148

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jjrawlins_cdk_git_tagger-0.0.148.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.148 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page