Skip to main content

terrajinja-sbp-chef

This is an extension to the vault provider for the following modules. The original documentation can be found here

SBP Specific implementations

Here is a list of supported resources and their modifications

sbp.chef.data_bag_item

Original provider: chef.data_bag_item

This custom provider adds the following:

  • allows specifying the databag item name seperate of the databag contents
  • automaticly converts the databag contents in to json for the resource
old parameter new parameter description
content_json content the data field is automaticly converted to json
- data_bag_item name of the databag item, inside the databag

additional to the above the data structure, the key id is automaticly filled with the data_bag_item value

{ 
    "id": "{data_bag_item}", # automatically added
    "your_content": "data",
}

terrajinja-cli example

the following is a code snipet you can used in a terrajinja-cli template file. This creates a databag with the name privoxy and a databag item with the name tst and the specified content

terraform:
  resources:
    - task: privoxy-databag
      module: sbp.chef.data_bag_item
      parameters:
        data_bag_name: privoxy
        data_bag_item: tst
        content:
          permit_access_subnets:
            - 127.0.0.1
          whitelist: 
            - my.domain.com

History

0.0.1 (14-03-2024)

  • First code creation

Metadata

Release files for terrajinja-sbp-chef 0.2.0

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

Source distribution (sdist)

Source distribution for terrajinja-sbp-chef 0.2.0
File Size Uploaded Provenance Actions
terrajinja_sbp_chef-0.2.0.tar.gz 27.4 kB Without provenance Details for terrajinja_sbp_chef-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for terrajinja-sbp-chef 0.2.0
File Interpreter ABI Platform Actions
terrajinja_sbp_chef-0.2.0-py3-none-any.whl Python 3 none any Details for terrajinja_sbp_chef-0.2.0-py3-none-any.whl

Total release size: 33.5 kB

Release files / terrajinja_sbp_chef-0.2.0.tar.gz

Download URL terrajinja_sbp_chef-0.2.0.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
66e38fd125a75ca1e4f15452b55a286bc40589376c13dd539ea8acd0a486b1b4
BLAKE2b-256 checksum
How to use checksums
ebedad9e3b2587ad631788642383253b8788f4732154625845d0e4f5d8b19ab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release files / terrajinja_sbp_chef-0.2.0-py3-none-any.whl

Download URL terrajinja_sbp_chef-0.2.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17b38aca2dde61975994b0ae2741445b9fdc915b3b0d7da5684dd84a3c269ee0
BLAKE2b-256 checksum
How to use checksums
55f8df53e6f329d6dffc4cc06f40ae6c6f5758b726712bfef3b3d211b73c5010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Security for terrajinja-sbp-chef 0.2.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.

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