Skip to main content

Terrajinja extension for automation using cdktf

Project description

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

Project details


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.2.0.tar.gz (4.7 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.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file terrajinja-sbp-aws-0.2.0.tar.gz.

File metadata

  • Download URL: terrajinja-sbp-aws-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for terrajinja-sbp-aws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2952799031af44f17f03d032c262efeada0ae6b952ed005950c2c46258c55cf6
MD5 0145eea9f997c49499f047741d4a1a9e
BLAKE2b-256 3c8ead33e95a86c2e7921021e18dffaa2ed405d6dd41a7aa36f8aa38891682b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terrajinja_sbp_aws-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9346d866d6480bb5eb7af4d717def2599aa57856bc498bf2a800b86726a17e84
MD5 fba250c1bd162aff230822a32a4d46e5
BLAKE2b-256 01209fc2c34d8e20220f0acf41ebfbfdf79fb02a8ccc601fdbd27eba2c6c5cdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page