secret-generator

Adaptavist/secret-generator/module

Terraform Module HCL MODULE
Install
module "secret-generator" {
source = "Adaptavist/secret-generator/module"
version = "2.0.0"
}
plain text: /constructs/tfmod-adaptavist-secret-generator-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

Secrets Generator Lambda This module creates a lambda which generates a secret value and stores the value in SSM. The module requires npm to be installed. Once the lambda generated by this module is in place, the lambda can be used as part of a solution to generate secrets and store them in SSM. This is achieved by using this module in conjunction with the aws-secret module. The benefit of this approach is that secrets can be managed by Infrastructure as code (IaC) and secrets will never be leaked into the remote state or the CI/CD tooling context. The Lambda supports importing of existing secrets into IaC. How it works This module creates a Lambda which processes the required events for a CloudFormation custom resource , the custom resource events which follow a CRUD like operation are ma

Inputs (4)
NameTypeDescriptionDefault
namespacestringNamespace used for the Lambda, this is used for tagging and within the Lambda na required
stagestringThe stage of the distribution - (dev, staging etc). required
tagsmap(string)Tags applied to the distribution, these should follow what is defined [here](htt required
lambda_namestringName given to the Lambda which generates secrets"ssm-secret-generator"
Outputs (1)
lambda_name — Name given to the lambda
Resources (1)
aws_iam_role_policy
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud MODULE
★ Stars0
Forks1
Total downloads339.4k
Inputs4
Outputs1
Resources1
LicenseApache-2.0
NamespaceAdaptavist
Updated