Skip to main content

terrajinja-sbp-aws

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.aws.iam_user_policy

Original provider: aws.iam_user_policy

This custom provider adds the following:

  • automaticly convert data to json as input for the resource
old parameter new parameter description
policy policy the data field is automaticly converted to json

terrajinja-cli example

the following is a code snipet you can used in a terrajinja-cli template file. This creates a s3 policy

terraform:
  resources:
    - task: "s3-policy"
      module: sbp.aws.iam_user_policy
      parameters:
        name: "s3-policy"
        user: "$s3-customer-user.name"
        provider: '$aws-provider-cloudian'
        policy:
          Version: "2012-10-17"
          Statement:
            - Effect: "Allow"
              Action:
                - "s3:ListBucket"
                - "s3:GetBucketLocation"
                - "s3:ListBucketMultipartUploads"
              Resource:
                - "arn:aws:s3:::bucket-name"
            - Effect: "Allow"
              Action:
                - "s3:PutObject"
                - "s3:GetObject"
                - "s3:DeleteObject"
                - "s3:ListMultipartUploadParts"
                - "s3:AbortMultipartUpload"
              Resource:
                - "arn:aws:s3:::bucket-name/*"

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_aws-0.3.0.tar.gz (26.8 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_aws-0.3.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file terrajinja_sbp_aws-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for terrajinja_sbp_aws-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3788f37e996f7db139e486d97260e4bf5236aa6077af16d5fdacbe4ce0ee741b
MD5 c96e399d195bc72e13e49d924103bdf2
BLAKE2b-256 aacb4845f0adb78bfb305bd550701a26f96c90959ce3472e9db5cb0ac576709f

See more details on using hashes here.

File details

Details for the file terrajinja_sbp_aws-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terrajinja_sbp_aws-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b53a16f35c542eacfe229cb05b0c2abed2ffed68e35e1297ec3929a7bce0cec4
MD5 1c57e9e00d13d029f6ecbfe2c8002271
BLAKE2b-256 b349f894b66ba426c090e042b0dc89c7ebebe83e4411782e46202d0599559a47

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

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