This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Dependency missing
Taggercli
Demo
CLI
Report
Installation
The taggercli can be installed via pip.
Running pip install PLACEHOLDER PYPI NAME will install the CLI
Usage
The main commands are
tagger report createtagger tag all
Report creation
The report create command first scans your AWS account (specified in your configuration, see Configuration for more information)
and compares the tags of found resources with tags specified in your configuration file. A html report is generated showing the results from the comparison.
If no region is specified via --region the default from the configuration file is used.
Tag all
The tag all command first scans a given AWS region and your global resources.
It displays a list of all the found resources and applies tags found in the configuration file.
If no region is specified via --region the default from the configuration file is used.
Supported resources
Please see the taggercore README for a list of supported resources.
Prerequisites
Configuration
tagger config create creates a config file and writes the result to ~/.tagger/config.ini
The profile provided should be present in your AWS configuration file. Per default boto looks at ~/.aws/config for the profile. Please make sure the specified profile has all the required permissions.
The config.ini is also used to specify the given tag schema.
The config file is case-sensitive!
AWS Permissions
AWS Managed policies
- ReadOnlyAccess
- ResourceGroupsandTagEditorFullAccess
Custom policy
Even though ResourceGroupsandTagEditorFullAccess allows access to the Resource Groups Tagging API additional permissions for the individual resources are necessary to perform the tagging operation.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"acm:AddTagsToCertificate",
"apigateway:POST",
"apigateway:PUT",
"cloudfront:TagResource",
"cloudtrail:AddTags",
"cloudwatch:TagResource",
"dynamodb:TagResource",
"ec2:CreateTags",
"elasticache:AddTagsToResource",
"elasticbeanstalk:AddTags",
"elasticloadbalancing:AddTags",
"es:AddTags",
"events:TagResource",
"firehose:TagDeliveryStream",
"iam:TagRole",
"iam:TagUser",
"kinesis:AddTagsToStream",
"lambda:TagResource",
"logs:TagLogGroup",
"rds:AddTagsToResource",
"route53:ChangeTagsForResource",
"s3:PutBucketTagging",
"sns:TagResource",
"sqs:TagQueue"
],
"Resource": [
"*"
]
}
]
}
Development
Install dev dependencies:
pipenv install -e .[dev]
Run tests:
tox
Run black for code formatting:
tox -e format
Metadata
Release files for taggercli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| taggercli-1.0.0.tar.gz | 14.1 kB | Without provenance | Details for taggercli-1.0.0.tar.gz |
Release files / taggercli-1.0.0.tar.gz
| Download URL | taggercli-1.0.0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7be8cf345aa9b00bae8e831dc757cbbdd0c2951ca1935e712c4cc459e02da3d
|
|
BLAKE2b-256 checksum How to use checksums |
45f0f1beb823d4b7e4822cb97a6702a1b51f36ec8120210c05c137c7b8a08c20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for taggercli 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.