terratalk
Terratalk is a simple tool to add an opinionated terraform plan output into your pull-request as a comment. This allows you to have a quick feedback on infrastructure changes without having to leave the context of your pull-request view.
Setup
Prerequisite
This tool relies on either
Bitbucket Branch Source
or GitHub Branch Source to
be installed as a plugin on your Jenkins. Alternatively you can set the
environment variable CHANGE_URL to the URL of the pull-request which will
allow terratalk to construct the proper API request to your SCM.
GitLab is currently only supported from gitlab-pipelines.
Installation
On the build agent, install terratalk:
$ pip install --user terratalk
If you are using GitHub you will additionally need to install the following:
$ pip install --user PyGithub
If you are using GitLab you will additionally need to install the following:
$ pip install --user python-gitlab
Running
Execute in the same directory, optionally with the same TF_DATA_DIR as you
would normally run terraform. If you use
tfenv that will work as well.
$ terraform plan -out WORKSPACE.plan
$ terratalk comment -w WORKSPACE
Supported providers
Bitbucket Server (Jenkins)
STASH_USERSTASH_PASS
Bitbucket Cloud (Jenkins)
BITBUCKET_USERNAMEBITBUCKET_APP_PASSWORD
GitHub (Jenkins)
GITHUB_TOKEN
GitLab (pipelines)
GITLAB_TOKEN
Gitea (actions)
TERRATALK_GITEA_TOKEN
Results
License
Metadata
Release files for terratalk 0.5.1
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 |
|---|---|---|---|---|
| terratalk-0.5.1.tar.gz | 11.0 kB | With provenance | Details for terratalk-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| terratalk-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for terratalk-0.5.1-py3-none-any.whl |
Total release size: 22.6 kB
Release files / terratalk-0.5.1.tar.gz
| Download URL | terratalk-0.5.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41ad0617f2f7d0ee26656c95e2345be9e6ce55353add54ae258b4bbd09508897
|
|
BLAKE2b-256 checksum How to use checksums |
0fc1f6ac49a3a10caeacd36af81cface09d3514d5325452934ca2ad161cf35af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 3, 2025.
Transparency logRelease files / terratalk-0.5.1-py3-none-any.whl
| Download URL | terratalk-0.5.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc3197748f3ad239384f298701f61e8299f9ea735fd127e83c8166f1e6f6a4fc
|
|
BLAKE2b-256 checksum How to use checksums |
8db997d167acef3d33248eebaf6a0a0ed6ecd461399852d04c15af6110e740ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 3, 2025.
Transparency logSecurity for terratalk 0.5.1
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
Both files in this release have been uploaded with provenance metadata.
Attestation for terratalk-0.5.1.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 Mar 3, 2025.
Transparency logA 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.