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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terrajinja_sbp_chef-0.2.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terrajinja_sbp_chef-0.2.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file terrajinja_sbp_chef-0.2.0.tar.gz.

File metadata

  • Download URL: terrajinja_sbp_chef-0.2.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.5

File hashes

Hashes for terrajinja_sbp_chef-0.2.0.tar.gz
Algorithm Hash digest
SHA256 66e38fd125a75ca1e4f15452b55a286bc40589376c13dd539ea8acd0a486b1b4
MD5 926e2c667bffe2fa8e4bbb47801d19da
BLAKE2b-256 ebedad9e3b2587ad631788642383253b8788f4732154625845d0e4f5d8b19ab5

See more details on using hashes here.

File details

Details for the file terrajinja_sbp_chef-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terrajinja_sbp_chef-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17b38aca2dde61975994b0ae2741445b9fdc915b3b0d7da5684dd84a3c269ee0
MD5 1f4b5b1d2c40f951777fe4099e974ac2
BLAKE2b-256 55f8df53e6f329d6dffc4cc06f40ae6c6f5758b726712bfef3b3d211b73c5010

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

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