aws∕secretmanager - dicomgrid/pt-modules GitHub Wiki

Usage

To use this module in your Terraform, refer to the below module example:

module "aws_secretmanager" {
  source = "git::ssh://[email protected]/dicomgrid/pt-modules.git?ref=aws/secretmanager/v24.0.0"

  # See inputs below for additional required parameters
}

Attributes

Requirements

Name Version
aws >= 5.56.1

Providers

Name Version
aws >= 5.56.1

Modules

No modules.

Resources

Name Type
aws_secretsmanager_secret.this resource
aws_secretsmanager_secret_policy.this resource
aws_secretsmanager_secret_version.this resource

Inputs

Name Description Type Default Required
secret_name The name of the secret, including the path if necessary string n/a yes
secret_string The secret string to store string n/a yes
description The description of the secret string "" no
policy A valid AWS policy JSON document to attach to the secret string "" no
region The AWS region to use for the Secrets Manager string "us-east-2" no
tags A map of tags to assign to the resource map(string) {} no

Outputs

Name Description
secret_arn The ARN of the secret
secret_name The name of the secret
secret_version_id The version ID of the secret

Changelog

v24.0.0 (2025-07-05)

  • :twisted_rightwards_arrows:PR #288 - PLT-0: bug: testgin
  • Adding secretmanager module for testing